Updated: 28 February 2024
...
Open ${DIR}/WRF/configure.wrf using a text editor such as vi
Remove
-fpp -auto
fromOMPCC
Change all
icc
tocc -Wno-implicit-function-declaration -Wno-implicit-int
Append
-Wno-implicit-function-declaration -Wno-implicit-int
to existingcc
.Prepend
-fp-model precise
toFCBASEOPTS_NO_G
.
Code Block | ||
---|---|---|
| ||
vi configure.wrf
# Change OMPCC = -qopenmp -fpp -auto
# to OMPCC = -qopenmp
# Change SCC = icc
# to SCC = cc -Wno-implicit-function-declaration -Wno-implicit-int
# Change CCOMP = icc
# to CCOMP = cc -Wno-implicit-function-declaration -Wno-implicit-int
# Change DM_CC = cc
# to DM_CC = cc -Wno-implicit-function-declaration -Wno-implicit-int
# Change FCBASEOPTS_NO_G = -w -ftz -fno-alias -align all $(FORMAT_FREE) $(BYTESWAPIO)
# to FCBASEOPTS_NO_G = -fp-model precise -w -ftz -fno-alias -align all $(FORMAT_FREE) $(BYTESWAPIO) |
...
Some options DO NOT support DM+SM run. If it is stuck at the beginning. try the following:
Use
#SBATCH --cpus-per-task=1
andexport OMP_NUM_THREADS=1
,Increase the total number of tasks, for example,
#SBATCH --ntasks-per-node=128
Specify the number of tasks for each executable explicitly; for instance, use
srun -n16 ./real.exe
srun -n128 -c1 ./wrf.exe
...
Contact Us
ThaiSC support service : thaisc-support@nstda.or.th
...