...
- type ./configure --help for detailed options; i.e to build mpi executable you can use one of the following commands:
Code Block |
---|
FC=gfortran44 ./configure --with-mpi FC=gfortran44 MPIFC=/opt/mpich2-1.0.8-gcc44-x86_64/bin/mpif90 ./configure --with-mpi |
- You can also use the gfortan44 compiler to build a Makefile with netcdf output:
Code Block |
---|
FC=gfortran44 PKG_CONFIG_PATH=/opt/netcdf-4.1.1/gfortran/lib/pkgconfig ./configure --with-netcdf |
- Or both:
Code Block |
---|
FC=gfortran44 MPIFC=/opt/mpich2-1.0.8-gcc44-x86_64/bin/mpif90 PKG_CONFIG_PATH=/opt/netcdf-4.1.1/gfortran/lib/pkgconfig ./configure --with-netcdf --with-mpi |
- Build you XBeach executable by running you make file and typing:
...