Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Updated: 18 October 2023

Table of Contents
minLevel2
maxLevel3
outlinefalse
stylecircle
exclude.*(Contents|RETURN).*
typelist
printablefalse

...

I. WRF-Chem tools

(https://www2.acom.ucar.edu/wrf-chem/wrf-chem-tools-community)

...

Code Block
module purge
module load cpeIntel/23.0309
module load cray-hdf5-parallel/1.12.2.7
module load cray-netcdf-hdf5parallel/4.9.0.7

export FC=ftn
export NETCDF_DIR=${CRAY_NETCDF_HDF5PARALLEL_PREFIX}
export LD_LIBRARY_PATH=${CRAY_LD_LIBRARY_PATH}:${LD_LIBRARY_PATH}

# GNU 
# module load cpeGNU/23.03
# export FC='ftn -fallow-argument-mismatch'

tar xzf /project/common/WPS_Static/WRFprechem_Oct2023.tar.gz

# ANTHRO
cd ./WRFchem_pre/anthro/src/
csh make_anthro  
cd ../
ln -s ./src/anthro_emis .
cd ../../

# BIO
cd ./WRFchem_pre/bio/src/
csh make_util megan_bio_emiss 
cd ../
ln -s ./src/megan_bio_emiss .
cd ../../    

# MOZBC
cd ./WRFchem_pre/mozbc/src/
csh make_mozbc  
cd ../
ln -s ./src/mozbc .
cd ../../

# FIRE
cd ./WRFchem_pre/fire/src/
csh make_fire_emis   
cd ../
ln -s ./src/fire_emis .
cd ../../

# OXYGEN
cd ./WRFchem_pre/oxygen/src/
csh make_util wesely
csh make_util exo_coldens
cd ../
ln -s ./src/exo_coldens .
ln -s ./src/wesely .
cd ../../

...

Code Block
#!/bin/bash
#SBATCH -p memory               # Partition
#SBATCH -N 1                    # Number of nodes
#SBATCH --ntasks-per-node=1     # Number of MPI processes per node
#SBATCH -t 5-00:00:00           # Job runtime limit
#SBATCH -J WRFprechem           # Job name
#SBATCH -A ltxxxxxx             # Account *** {USER EDIT} ***

module purge
module load cpeIntel/23.0309
module load cray-hdf5-parallel/1.12.2.7
module load cray-netcdf-hdf5parallel/4.9.0.7

export OMP_NUM_THREADS=1

ulimit -s unlimited

./megan_bio_emiss < megan_bio_emiss.inp > megan_bio_emiss.log
./anthro_emis     < anthro_emis.inp     > anthro_emis.log
./fire_emis       < fire_emis.inp       > fire_emis.log
./wesely          < wesely.inp          > wesely.log
./exo_coldens     < exo_coldens.inp     > exo_coldens.log

#./mozbc_hybridcoord < mozbc_ic.inp > mozbc_ic.log
#./mozbc_hybridcoord < mozbc_bc.inp > mozbc_bc.log

For more information, please explore /project/common/WRF/Example2/ on LANTA.

...

II. Prep_Chem_Sources

Info

The standard dataset for the tool (global_emissions_v3_24aug2015.tar.gz) is available on LANTA at /project/common/WPS_Static/Global_emissions_v3.

...

Code Block
languagebash
module purge
module load cpeGNU/23.03
module load cray-hdf5-parallel/1.12.2.3
module load cray-netcdf-hdf5parallel/4.9.0.3
module load zlib/1.2.13                               

3. Edit source codes

...

Code Block
#!/bin/bash
#SBATCH -p memory               # Partition
#SBATCH -N 1                    # Number of nodes
#SBATCH --ntasks-per-node=1     # Number of MPI processes per node
#SBATCH -t 5-00:00:00           # Job runtime limit
#SBATCH -J WRFprechem           # Job name
#SBATCH -A ltxxxxxx             # Account *** {USER EDIT} ***

module purge
module load cpeIntelcpeGNU/23.03
module load cray-hdf5-parallel/1.12.2.3
module load cray-netcdf-hdf5parallel/4.9.0.3

export OMP_NUM_THREADS=1

ulimit -s unlimited

./prep_chem_sources_RADM_WRF_FIM_SIMPLE.exe < prep_chem_sources.inp

...

Contact Us
ThaiSC support service : thaisc-support@nstda.or.th

...