...
Code Block |
---|
git clone https://github.com/ICTP/RegCM.git |
For the ISC24, the participants are requested to switch to the target branch:
Code Block |
---|
cd RegCM
git checkout ISC24 |
Once the model is on disk, the user should create the configure script:
Code Block |
---|
cd RegCM
autoreconf -f -i |
The above command is also contained in a bootstrap.shscript, which has in comment other possible options to use if the autotools are in a non standard path.
...
To configure the build system using the GNU make program should be enough on most systems to just type in:
Code Block |
---|
./configure |
The makeinc
file must then be manually edited to uncomment an option line as described in the below diff:
Code Block |
---|
diff --git a/makeinc b/makeinc
index edb543c1a..a42066da5 100644
--- a/makeinc
+++ b/makeinc
@@ -47,7 +47,7 @@ ifeq ($(findstring DCLM45, $(CPPFLAGS)),DCLM45)
#CPPFLAGS += $(DEFINE)VICHYDRO
endif
-#CPPFLAGS += $(DEFINE)RCEMIP
+CPPFLAGS += $(DEFINE)RCEMIP
space :=
space +=
|
The configure
script will (hopefully) find a working combination of Fortran compiler and libraries compiled with it for the above required requisites. If the required libraries are not installed on the system, but the user has access to the working compiler toolchain, an example script to download and install in the USER accessible directories the netCDF and OpenMPI is provided in:
...
For the ISC24 competition, the build system is by editing the makeinc
file as described above it has been configured to make the RCEMIP model. This setting will initialize a prescribed initial vertical profile simulation with periodic boundary conditions, that will be used to evaluate the model in the ensemble Radiative-Convective Equilbrium Model Intercomparison Project. In this framework, the model is run in an idealized setting using a prescribed convection permitting configuration over an ocean box domain. The selected configuration it is very much stressing the dynamical core, the radiation package, the model micro-physics and the turbulence parameterization of the boundary layer over the ocean.
...
Compile, build and run the RegCM with the given input and submit the results (standard output).
Bonus task: change jx and iy parameters in the input file to find the maximum size you can fit into the memory of your cluster.
Code Block |
---|
iy = 100, # Try increasing this two numbers jx = 200, # What are the max values you can run with? |
View file | ||
---|---|---|
|
View file | ||
---|---|---|
|