HOW_TO_USE_THE_MODEL 1.6 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 work on 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

Dany Dumont's avatar
Dany Dumont committed
12
	1) COMPILATION
Jérémy Baudry's avatar
Jérémy Baudry committed
13

Dany Dumont's avatar
Dany Dumont committed
14 15 16 17 18 19 20
	- 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
21 22 23

	2) USE THE MODEL

Dany Dumont's avatar
Dany Dumont committed
24 25 26
	- 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
27 28 29

	3) USE THE MODEL WITH GOTM

Dany Dumont's avatar
Dany Dumont committed
30 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
	- You can also run the model in batch mode. To do this, you must change the
	  file batch_bio_pbs.sh
Jérémy Baudry's avatar
Jérémy Baudry committed
41

Dany Dumont's avatar
Dany Dumont committed
42
	Have fun!
Jérémy Baudry's avatar
Jérémy Baudry committed
43

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