-
Notifications
You must be signed in to change notification settings - Fork 35
Select the compiler
Stefano Zaghi edited this page Feb 9, 2015
·
1 revision
By default FoBiS.py uses the Intel Fortran Compiler, in particular the serial compiler that has the command line name of ifort
. The compiler can be selected by the -compiler
option
FoBiS.py build -compiler GNU
Presently the supported compilers are:
- Intel Fortran Compiler, switch value
intel
; - GNU gfortran, switch value
gnu
; - g95, switch value
g95
; - IBM XL Fortran Compiler;
- NAG Fortran Compiler;
- PGI Fortran Compiler;
- custom, switch value
custom
.
Note that all the -compiler
switch values are case insensitive.
The custom
value selects a completely custom compiler for which the user must specify some other options.
When using a custom compiler you must also specify:
-
-fc
the fortran compiler statement; -
-modsw
the switch for setting the module searching path.
For example
FoBiS.py build -compiler custom -fc my_strange_compiler -modsw '-assume modules-path='
The compiler statement for MPI compilation is often different from the serial one. For the supported compilers the MPI statements can activated by the -mpi
option
FoBiS.py build -compiler GNU -mpi
FoBiS.py build -mpi
-
Getting-Started
- A Taste of FoBiS.py
- fobos: the FoBiS.py makefile
- FoBiS.py in action
- FAQ