Ask Your Question
0

How should I edit run_real.bash?

asked 2023-10-25 09:37:35 +0100

yxli gravatar image

updated 2023-10-25 18:02:47 +0100

Hello,I am trying to couple CROCO and WRF. The following error was encountered while running.

starting wrf task 0 of 2

starting wrf task 1 of 2

MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes. You may or may not see output from other processes, depending on

exactly when Open MPI kills them.

How do I set MPI correctly? My MPI is not one of the files. And I have added mpi related the environment variables in my ~/.bashrc. I've attached the relevant documents below.

And what does WRF_IN_DIR stand for?

C:\fakepath\real.log C:\fakepath\configure.namelist.wps.txt C:\fakepath\run_real.log C:\fakepath\run_real.bash C:\fakepath\rsl.error.0000.txt C:\fakepath\rsl.error.0001.txt C:\fakepath\rsl.out.0000.txt C:\fakepath\rsl.out.0001.txt C:\fakepath\namelist.input.base.complete.txt

Here is the run_wps.bash file that has been successfully run. C:\fakepath\run_wps.bash

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2023-10-31 09:00:04 +0100

swen gravatar image

Regarding WRF you have to run real from the uncoupled WRF compilation. Then, use the exe_coupled/wrf.exe to run with in coupled mode. Regarding you other question, you can indeed run a coupled CROCO-WRF run without the provided scripts and tools. In this case you have to edit and prepare by your own all the required files for coupling (notably namcouple).

edit flag offensive delete link more
0

answered 2023-10-25 09:50:14 +0100

swen gravatar image

In your run_real.sh you have commented the source to the environment file in which many environment variables used in the scripts are defined : #source ../myenv_mypath.sh It is in myenv_mypath.sh that you should have defined directories, and paths.

Documentation and explanation on the coupling tools is available in the CROCO documentation and tutorials page, more specifically for coupling tools here: https://croco-ocean.gitlabpages.inria...

edit flag offensive delete link more

Comments

Thank you for your advice,but I have added mpi related the environment variables in my ~/.bashrc. And I will try to edit myenv_mypath and re-run.

yxli gravatar imageyxli ( 2023-10-25 15:41:01 +0100 )edit

Did it worked? What problem do you face now?

andres gravatar imageandres ( 2023-10-30 14:05:16 +0100 )edit

It still doesn't work with the files provided by CROCO. Can I couple with croco if I use traditional WRF run steps? Finally run with real.exe in exe_coupled?

yxli gravatar imageyxli ( 2023-10-31 04:44:02 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2023-10-25 09:37:35 +0100

Seen: 69 times

Last updated: Oct 31