- Go to
srcfolder. Run the following command:
# For Puhti:
module load gcc/11.3.0 openmpi/4.1.4 netcdf-fortran/4.5.4
gmake -f Makefile_puhti
# For containers (docker or openshift)
gmake -f Makefile_container
- The program SVMC will appear in the
srcfolder. - Need to adapt the library path and include path of netcdf library when needed.
- Only gfortran is tested at the moment!
./SVMC
- To set the control parameters (e.g., input/output folders, running periods, time steps), please check
readctrl_mod.f90at here - To set the parameters of p-hydro, please check
readvegpara_mod.f90at here - To set the parameters related spafhy, please check
readsoilpara_mod.f90at here. - The input and output subroutines with netcdf are kept in
io_mod.f90. If you want to add more output data into the output netcdf file, please define the variable here inio_mod.f90and call the writing variable subroutine inSVMC.f90here. - Input and Output are both kept in the
datafolder here
- Namelist files are implemented in the code, but have not be tested yet. So, you need to change parameters in the code and re-compile the model when doing testing.
- Some parameters are still kept in p-hydro or spafhy code at the moment. The plan is to move all the parameters into parameter module, which will be easy for parameter calibration in the future.

