Some tips on installing auto for the short course Oct 20/21 2011 at CWI
Installation on Windows
- No 3D plotting (PLAUT04 etc) is required.
- One general (not only windows) pitfall you may have encountered is the error (upon excecuting "make")
!$ USE OMP_LIB
This can be resolved by turning off parallel ability: Instead of "configure" run "configure --without-openmp".
Fatal Error: Can't open module file 'omp_lib.mod' for reading at (1): No such file or directory
- A detailed website with
This is probably still the best. Below are some alternatives that
may be helpful.
- Another website with
- Links of things to install for Windows (note the versions may not
be good for all Windows versions):
- Python 2.7.2,
- In MinGW the home directory, where the auto package needs to be installed, is a bit hidden. It is something like
C:MinGW/msys/1.0/home/[USERNAME], and it is useful to create a link to it for easy access.
- Note that you also need to install a reasonable editor to work on the fortran files. One option is
Emacs, another WinEdt.
- To "source" the auto configuration automatically upon starting MinGW, create a text file named ".profile" in your MinGW home
directory and put the command
"source $HOME/auto/07p/cmds/auto.env.sh" into it.
- If it cannot find Python, add the line "export PATH=/c/PythonXX:$PATH" to the .profile file, where XX is the
version of Python and /c/PythonXX/ is the path on your machine to it.
- Under Windows 7 the plotting does not work (sometimes?) with the error:
AttributeError: can't set attribute
One semi-solution is to install Python 2.6 and set this in the .profile file. Then run "auto -i" once
(it will probably give an error message). Then run auto as usual. The plots may come without the buttons, though.
A workaround is to install some virtual linux, but I do not know details.
Fatal Phyton error: PyEval_RestoreThread: NULL tstate