Skip to content

olli4/SVMC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

212 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SVMC

FMI LUKE

Compiling:

  • Go to src folder. 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 src folder.
  • Need to adapt the library path and include path of netcdf library when needed.
  • Only gfortran is tested at the moment!

Running the test (Qvidja, 2021)

./SVMC

  • To set the control parameters (e.g., input/output folders, running periods, time steps), please check readctrl_mod.f90 at here
  • To set the parameters of p-hydro, please check readvegpara_mod.f90 at here
  • To set the parameters related spafhy, please check readsoilpara_mod.f90 at 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 in io_mod.f90 and call the writing variable subroutine in SVMC.f90here.
  • Input and Output are both kept in the data folder here

Additional notes:

  • 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.

About

Vendored copy of SVMC for porting purposes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Fortran 60.9%
  • Jupyter Notebook 20.0%
  • Shell 10.7%
  • R 7.9%
  • Python 0.5%