I can do it faster by myself in /projects/acad/ecearth/opt...
Already done: just quit Zenobe and sign in again!
Then call configure_ecearth, that's it: cdo is available!
Hi @fmasson
I can do it faster by myself in `/projects/acad/ecearth/opt`...
Already done: just quit Zenobe and sign in again!
Then call `configure_ecearth`, that's it: cdo is available!
I'm willing to make a constant-year forcing run with EC-Earth 3.3.1 and for this, there is a call to a CDO command in the submission script file.
for (( yr=leg_start_date_yyyy-1 ; yr<=leg_end_date_yyyy+1 ; yr+=1 ))
do
if [ $ifs_cmip_fixyear -le 0 ]
then
cat ${ini_data_dir}/ifs/${ifs_grid}/icmcl_v16/icmcl_$yr.grb >> ICMCL${exp_name}INIT
else
# Fixed year forcing, requires cdo!
# If cdo is not available at runtime you need to fix proper
# icmcl files beforehand and use them here
cdo setyear,$yr ${ini_data_dir}/ifs/${ifs_grid}/icmcl_v16/icmcl_${ifs_cmip_fixyear}.grb ${tempfile}
cat ${tempfile} >> ICMCL${exp_name}INIT
fi
done
However, upon execution, it says that there is no such thing as cdo:
+ cdo setyear,1849 /SCRATCH/acad/ecearth/DATA/v3.3.0/inidata/ifs/T255L91/icmcl_v16/icmcl_1850.grb tmp.86716
/var/spool/PBS/mom_priv/jobs/7418032.frontal2.SC: line 759: cdo: command not found
While I can load and use CDO interactively on the frontend, I cannot find how to do it in the context of a run that goes on the nodes.
What's the way forward with this? Note that I also tried to change the cdo command to /projects/acad/ecearth/opt/software/CDO/1.7.2-foss-2016b/bin/cdo but without success.
Hi @pbarriat,
I'm willing to make a constant-year forcing run with EC-Earth 3.3.1 and for this, there is a call to a CDO command in the submission script file.
```
for (( yr=leg_start_date_yyyy-1 ; yr<=leg_end_date_yyyy+1 ; yr+=1 ))
do
if [ $ifs_cmip_fixyear -le 0 ]
then
cat ${ini_data_dir}/ifs/${ifs_grid}/icmcl_v16/icmcl_$yr.grb >> ICMCL${exp_name}INIT
else
# Fixed year forcing, requires cdo!
# If cdo is not available at runtime you need to fix proper
# icmcl files beforehand and use them here
cdo setyear,$yr ${ini_data_dir}/ifs/${ifs_grid}/icmcl_v16/icmcl_${ifs_cmip_fixyear}.grb ${tempfile}
cat ${tempfile} >> ICMCL${exp_name}INIT
fi
done
```
However, upon execution, it says that there is no such thing as `cdo`:
```
+ cdo setyear,1849 /SCRATCH/acad/ecearth/DATA/v3.3.0/inidata/ifs/T255L91/icmcl_v16/icmcl_1850.grb tmp.86716
/var/spool/PBS/mom_priv/jobs/7418032.frontal2.SC: line 759: cdo: command not found
```
While I can load and use CDO interactively on the frontend, I cannot find how to do it in the context of a run that goes on the nodes.
What's the way forward with this? Note that I also tried to change the `cdo` command to `/projects/acad/ecearth/opt/software/CDO/1.7.2-foss-2016b/bin/cdo` but without success.
My script file is here:
```
/home/acad/ucl-elic/fmasson/modeles/ecearth/ecearth_3.3.1/runtime/classic/fw00.sh
```
Hi @fmasson,
In your script :
```
/home/acad/ucl-elic/fmasson/modeles/ecearth/ecearth_3.3.1/runtime/classic/ecconf.cfg
```
Add after the line 50 (`export LD_LIBRARY_PATH=${LD_LIBR...`) :
```
export PATH=${PATH:+${PATH}:}"/projects/acad/ecearth/opt/cdo/bin/"
```
Hi @pbarriat,
It looks like there is no CDO module on Zenobe. Do you think we can ask them to install it?
Hi @fmasson
I can do it faster by myself in
/projects/acad/ecearth/opt...Already done: just quit Zenobe and sign in again!
Then call
configure_ecearth, that's it: cdo is available!Oh, right. Thanks.
Hi @pbarriat,
I'm willing to make a constant-year forcing run with EC-Earth 3.3.1 and for this, there is a call to a CDO command in the submission script file.
However, upon execution, it says that there is no such thing as
cdo:While I can load and use CDO interactively on the frontend, I cannot find how to do it in the context of a run that goes on the nodes.
What's the way forward with this? Note that I also tried to change the
cdocommand to/projects/acad/ecearth/opt/software/CDO/1.7.2-foss-2016b/bin/cdobut without success.My script file is here:
Hi @fmasson,
In your script :
Add after the line 50 (
export LD_LIBRARY_PATH=${LD_LIBR...) :Thanks, this one is fixed (next problem is coming :-) )