oph:cluster:wrf
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Prossima revisione | Revisione precedente | ||
oph:cluster:wrf [2023/06/14 07:47] – creata carlo.cintolesi@unibo.it | oph:cluster:wrf [2023/11/20 18:20] (versione attuale) – [Installation details] carlo.cintolesi@unibo.it | ||
---|---|---|---|
Linea 2: | Linea 2: | ||
The WRF V4.4 model has been recently installed and is available for all cluster users. | The WRF V4.4 model has been recently installed and is available for all cluster users. | ||
+ | |||
+ | ===== Running WRF ===== | ||
+ | |||
+ | For utilizing WRF, it is recommended to follow the instructions provided in the [[https:// | ||
+ | use the '' | ||
+ | |||
+ | setenv DIR / | ||
+ | setenv CC gcc | ||
+ | setenv CXX g++ | ||
+ | setenv FC gfortran | ||
+ | setenv FCFLAGS -m64 | ||
+ | setenv F77 gfortran | ||
+ | setenv FFLAGS -m64 | ||
+ | setenv JASPERLIB $DIR/ | ||
+ | setenv JASPERINC $DIR/ | ||
+ | setenv LDFLAGS -L$DIR/ | ||
+ | setenv CPPFLAGS -I$DIR/ | ||
+ | setenv PATH $DIR/ | ||
+ | setenv NETCDF $DIR/netcdf | ||
+ | setenv LD_LIBRARY_PATH / | ||
+ | setenv LD_LIBRARY_PATH $DIR/ | ||
+ | |||
+ | The OPH cluster is configured with OpenMPI. Therefore, before running WRF, please load the | ||
+ | relative module by using the command '' | ||
+ | command in your job file). | ||
Linea 8: | Linea 33: | ||
The installation includes the following libraries: | The installation includes the following libraries: | ||
- | * jasper-1.900.1 | + | |
- | * libpng-1.2.50 | + | * libpng-1.2.50 |
- | * zlib-1.2.11 | + | * zlib-1.2.11 |
- | * netcdf-4.1.3 | + | * netcdf-4.1.3 |
- | * openmpi-4.1.4 | + | * openmpi-4.1.4 |
The WRF configuration chosen is '' | The WRF configuration chosen is '' | ||
+ | The complete installation, | ||
+ | / | ||
- | The complete installation, including | + | <WRAP center round alert 60%> |
+ | It is recommended not to modify this folder. | ||
+ | </ | ||
+ | |||
+ | |||
+ | Users that need to customise or modify the source code are invited to install WRF locally on their own account. To do that they should copy the '' | ||
+ | |||
+ | / | ||
+ | |||
+ | needs to be shared among users, as it contains | ||
+ | |||
+ | |||
+ | ===== Instruction for compiling WRF in the cluster ===== | ||
+ | |||
+ | Assuming that the Netcdf library, compilers and OpenMP are already been installed (that is the current case in the cluster), you may need to compile WRF to update the model. To compile WRF use a [[oph: | ||
+ | |||
+ | salloc -N 1 --cpus-per-task=4 --time=00: | ||
+ | |||
+ | salloc will pause while waiting for the requested resources, so be prepared. It also tells you the value for $JOBID to be used in the following step. Then you can connect your terminal to the running job via: | ||
+ | |||
+ | srun --pty --overlap --jobid $JOBID bash | ||
+ | |||
+ | Then copy and paste: | ||
+ | |||
+ | tcsh | ||
+ | setenv DIR / | ||
+ | setenv CC gcc | ||
+ | setenv CXX g++ | ||
+ | setenv FC gfortran | ||
+ | setenv FCFLAGS -m64 | ||
+ | setenv F77 gfortran | ||
+ | setenv FFLAGS -m64 | ||
+ | setenv JASPERLIB $DIR/ | ||
+ | setenv JASPERINC $DIR/ | ||
+ | setenv LDFLAGS -L$DIR/ | ||
+ | setenv CPPFLAGS -I$DIR/ | ||
+ | setenv PATH $DIR/ | ||
+ | setenv NETCDF $DIR/ | ||
+ | setenv LD_LIBRARY_PATH / | ||
+ | setenv LD_LIBRARY_PATH $DIR/ | ||
+ | |||
+ | module load mpi/ | ||
+ | |||
+ | Inside the WRF folder, type: | ||
+ | |||
+ | ./ | ||
+ | |||
+ | Select as configuration 34 (GNU compiler in parallel mode) with basic nesting (1). For WRF version 4.5.1 (at least) the file configure.wrf must be modified. At line 138: | ||
+ | |||
+ | FC = time $(DM_FC) | ||
+ | |||
+ | must be replaced with: | ||
+ | |||
+ | FC = | ||
+ | |||
+ | Then you can compile (e.g., em_real) with: | ||
+ | |||
+ | | ||
- | / | + | Remember to call at the end: |
- | It is recommended not to modify this folder. Interested | + | |
- | users should copy the WRFv4 folder to their home directory, as it does not require significant | + | |
- | storage space (1.8 GB). | + | |
- | Each user can then independently run WRF by selecting desired characteristics. Only the | + | |
- | / | + | |
- | among users, as it contains the static data (29 GB) required for running geogrid.exe. | + | |
- | This is a quick guide to getting started with the new cluster. Any further information or insights can be found in the extended help sections. | + | To build WPS follow |
+ | ===== Contacts ===== | ||
- | ===== Cluster Access ===== | + | The WRF software has been installed by the research group of [[https:// |
+ | * [[https:// | ||
+ | * [[https:// |
oph/cluster/wrf.1686728858.txt.gz · Ultima modifica: 2023/06/14 07:47 da carlo.cintolesi@unibo.it