Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

real.exe run in Cheyenne

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

potomus

New member
Hello, I have a very beginner question.
I am following the tutorial instructions to do the setup, configuration in Cheyenne. But I got stuck on running real.exe.
I type ./real.exe
and the error shows:
MPT ERROR: mpiexec_mpt must be used to launch all MPI applications

Then I try to set up the script this way:
#!/bin/csh -f
#PBS -N wrf
#PBS -A xxxxxx
#PBS -l walltime=01:00:00
#PBS -q economy
#PBS -j oe
#PBS -m abe
#PBS -l select=2:ncpus=36:mpiprocs=36

### Set TMPDIR as recommended
setenv TMPDIR /glade/scratch/$USER/temp
mkdir -p $TMPDIR

### Run the executable
mpiexec_mpt ./real.exe > output_file

The error shows:
Not invoked from a known Work Load Manager:
o For PBS : PBS_NODEFILE is not set.
o For SLURM : SLURM_JOB_ID is not set.
mpiexec_mpt error: Aborting.

Hope someone could help me!
Thank you!
 
I suppose you build WRF in dumper mode. Please let me know if I am wrong.

Below is the script for running real.exe (and wrf.exe) in cheyenne. Please copy and make modification (e.g, specify account number, number of nodes, etc.):

#!/bin/csh
#PBS -A XXXXXXX
#PBS -N real
#PBS -l walltime=00:30:00
#PBS -q regular
#PBS -j oe
#PBS -l select=4:ncpus=36:mpiprocs=36

mpiexec_mpt ./real.exe
 
Hello Ming,
Thank you for the reply.

What is "dumper mode"? I don't know what mode I'm using. How could I check it?

I copied your script and write it to a file named "run_script", and then " source run_script".
It has the same error message as before:

Not invoked from a known Work Load Manager:
o For PBS : PBS_NODEFILE is not set.
o For SLURM : SLURM_JOB_ID is not set.
mpiexec_mpt error: Aborting.

Could you help me a little more?

Thanks!
 
Hi...

It sounds like you are trying to run your job on the same node you are logged into. That is forbidden on any
supercomputer.

You need to submit a batch job. When the job starts, all the necessary environmental variables will be set.

Since I don't have access to Cheyenne, I can't give you specifics. Each supercomputer is different.
 
I meant to write the word 'dmpar' mode, but somehow the computer automatically changed it to "dumper". i am sorry for the confusion.
I am not sure why the job script doesn't work for you. Probably it is related to the settings. Please send email to cislhelp@ucar.edu, and hope they can find solution for you.
 
Top