HOW_TO_USE_THE_MODEL 1.58 KB
Newer Older
Jérémy Baudry's avatar
Jérémy Baudry committed
1 2 3 4 5 6 7
			
		
			----------------------------------------------------
			Welcome to the Phytoplankton Lagrangian Model 2014!
			----------------------------------------------------


Dany Dumont's avatar
Dany Dumont committed
8 9 10
The model has been designed to be very user-friendly, however some modifications
must be done to fit with your machine.
So, please read the following steps to correctly start the model.
Jérémy Baudry's avatar
Jérémy Baudry committed
11 12


Dany Dumont's avatar
Dany Dumont committed
13 14 15 16 17 18 19 20 21
	1) COMPILATION:

	-Ensure first that gfortran is installed on your machine. 
	-Ensure that the NETCDF FORTRAN libraries are installed on your machine.
	-Change the path for the NETCDF FORTRAN module and libraries in the makefile

	-compile the source codes using the command «make». The executable will be
	created in the parent directory.
	- you can also delete all object file and the executable by using the command «make mrproper»
Jérémy Baudry's avatar
Jérémy Baudry committed
22 23 24

	2) USE THE MODEL

Dany Dumont's avatar
Dany Dumont committed
25 26 27
	- The model use namelists in nml/ allowing to change some parameter values without recompiling 
 	the source code
	- outputs will be generated in the directory output/
Jérémy Baudry's avatar
Jérémy Baudry committed
28 29 30

	3) USE THE MODEL WITH GOTM

Dany Dumont's avatar
Dany Dumont committed
31 32 33 34 35
	- The model can call GOTM to produce a diffusivity profile. If you want to use this feature
	you have to change the value of the parameter «mix_state» in the namelist model_parameter
	- Before doing this, ensure that GOTM is installed on your machine and copy all the GOTM namelists
	you need in the directory gotm/. You should also create a symbolic link of the executable in the
	directory gotm/
Jérémy Baudry's avatar
Jérémy Baudry committed
36 37 38

	4) USE BATCH MODE

Dany Dumont's avatar
Dany Dumont committed
39 40 41 42 43
	- you can also run the model in batch mode. To do this, you must change the file
	batch_bio_pbs.sh


	have fun
Jérémy Baudry's avatar
Jérémy Baudry committed
44 45


Dany Dumont's avatar
Dany Dumont committed
46
	for question, please contact me at baudryjeremy@gmail.com
Jérémy Baudry's avatar
Jérémy Baudry committed
47 48 49