MOCASSIN 2.02 manual

Writing a new Makefile

MOCASSIN’s source code is identical for all platforms, only the makefile changes. To write a new makefile a good place to start is to find out what Fortran 90 compiler is installed on your machine and then read the compiler’s man pages. e.g. if you are using xlf90, then just type man xlf90 and read all the available compiler options. You will need to include some sort of optimisation flag and some other MPI related flags. You can refer to the makefiles given here for the other platforms.

« 2.3 Compiling mocassin, mocassinWarm mocassinOutput or mocassinPlotcontents 3.1 Pure photoionisation benchmarks »