After building OpenIFS from GitHub, the tests seem to get stuck at 458.
(conda-py311)[p341cam@sci-vm-03 openifs-48r1.1]$ $OIFS_TEST/openifs-test.sh -t
[INFO]: OIFS_HOME path exists and is /gws/ssde/j25a/ai4er/users/pn341/ifs/openifs-48r1.1
[INFO]: log file for openifs-test is /gws/ssde/j25a/ai4er/users/pn341/ifs/openifs-48r1.1/openifs-test.log
[INFO]: cd /gws/ssde/j25a/ai4er/users/pn341/ifs/openifs-48r1.1
[INFO]: Site/host set to local, so assume dependencies are installed and available
[INFO]: -j not provided as argument, hence using defaults.
Number of threads = 8, which is default for local.
[INFO]: Test launcher:
Test project /gws/ssde/j25a/ai4er/users/pn341/ifs/openifs-48r1.1/build
Start 458: ifs_t21_test_fc
stderr
/gws/ssde/j25a/ai4er/users/pn341/ifs/openifs-48r1.1/build/ifs-test/tests/t21/test_fc/ifs-run: line 28: ./set_launcher.bash: No such file or directory
+ '[' -f ./setup ']'
+ set +x
+ cat
stdout
### Begin setup ###
Cycle: 48R1
Initial namelist:
Working directory: $HOME
GRIB_DEFINITION_PATH: $OIFS_HOME/build/share/eccodes/definitions
This is not a known problem, I’m afraid. The snippets of screen output that you have provided are unfortunately not very conclusive to allow us to diagnose what problem this might be.
We would need a bit more information about your build environment, e.g. what kind of compiler (and version) you are using, what packages you have in your conda env, and we would need to see the complete build.log to diagnose. which you can find here: $OIFS_HOME/build/build.log
If you could provide this information here attached to this post then we will have a look. It is possible that we’ll have to ask you to open a support issue if we need to dig further. Once a solution has been found we can then still post it here in the Forum so others can benefit in future.
Thanks for taking this on.
And sincere apologies to reply to this a little late. I am pursuing this project mostly on the weekends (you don’t have to FYI ).
Sure, please find below 3 files:
compiler version: -- The C compiler identification is GNU 11.5.0 -- The CXX compiler identification is GNU 11.5.0
OK, I can see from the log that the model build seems to have completed successfully. That’s good.
Looking at the original error, the tests can’t find the file set_launcher.bash in the first test $OIFS_HOME/build/ifs-test/tests/t21/test_fc/. Could you post perhaps a long format listing of this directory (ls -l) ? The file should exist in there as a symbolic link to $OIFS_HOME/source/ifs-test/bin/set_launcher.bash. Is this link broken? If you have moved the installation after the model build into a different directory, this could have happened.
Also, to allow me to diagnose a bit more other possible problems, could you please post your oifs-config.edit_me.sh, the openifs-test.log, and the $OIFS_HOME/build/env.sh files? They are quite small files, so it should be possible to attach them to this thread.
# (C) Copyright 2011- ECMWF.
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
#
# In applying this licence, ECMWF does not waive the privileges and immunities
# granted to it by virtue of its status as an intergovernmental organisation
# nor does it submit to any jurisdiction
#
#
# oifs-config.edit_me.sh
#
#
# This script sets the environment for OpenIFS 48r1
#
#
# Read this script using the command:
#
# source ./oifs-config.edit_me.sh
#
#
#--- set machine specific settings -----------------------------
export OIFS_HOST="local"
export OIFS_PLATFORM="local"
export GWS_IFS="${GWS}/ifs"
#--- set principal OIFS variables ------------------------------
export OIFS_CYCLE=48r1
export OIFS_CLIMATE="climate.v020"
#---Base code assumes openifs and openifs-expt are installed
#---in $HOME. Either these can be changed by the user------------
export OIFS_HOME="${GWS_IFS}/openifs-48r1.1"
#---Central location for non-openifs bundle source code, which
#---is required for the build and run. This only needs to be set
#---if not using the standard download of source to OIFS_HOME.
export OIFS_CENTRAL_SRC="${OIFS_HOME}/openifs-bundle-src"
#---It is recommended that the openifs-expt and oifs_data dir
#---exist in a location designed for permanent storage-----------
export OIFS_EXPT="${OIFS_HOME}/openifs-expt"
export OIFS_DATA_DIR="${OIFS_HOME}/openifs-data"
#---Set the path for the arch directory. Depending on system,i.e.,
#---all libs are installed on the sytem, this is not required,
#---so set to an empty string OIFS_ARCH=""
export OIFS_ARCH="./arch/${OIFS_HOST}/${OIFS_PLATFORM}"
#---Set the path for the directory that contains bin and share,
#---both of which are produced by the OpenIFS build. As standard,
#---this will be build, but can be install if -i option is used
#---in the build process.
export OIFS_BLD_PARENT="${OIFS_HOME}/build"
#---Path to the executable for 3d global model. This is the
#---default path for the exe, produced by openifs-test.sh.
#---SP means single precision. To run double precision change
#---SP to DP
export OIFS_EXEC="${OIFS_BLD_PARENT}/bin/ifsMASTER.SP"
#---Default assumed paths, only change if you know what you are doing
#---Path to the build script openifs-test.sh
export OIFS_TEST="${OIFS_HOME}/scripts/build_test"
#---Path to log for openifs-test.sh script
export OIFS_LOGFILE="${OIFS_HOME}/openifs-test.log"
#---Path to dir containing scripts to run OpenIFS experiment
export OIFS_RUN_SCRIPT="${OIFS_HOME}/scripts/exp_3d"
#---Path to OpenIFS docker scripts and yaml config for docker
export OIFS_DOCKER="${OIFS_HOME}/scripts/docker"
alias oenv="env -0 | sort -z | tr '\0' '\n' | grep -a OIFS_"
echo -e "\nOpenIFS environment variables are:"
echo "------------------------------------------------------"
env -0 | sort -z | tr '\0' '\n' | grep -a OIFS_
echo
#---Path to the executable for the SCM. This is the
#---default path for the exe, produced by openifs-test.sh.
#---DP means double precision. To run single precision change
#---DP to SP
export SCM_EXEC="${OIFS_BLD_PARENT}/bin/MASTER_scm.SP"
#---Default assumed paths, only change if you know what you are doing
export SCM_TEST="${OIFS_HOME}/scripts/scm"
export SCM_VERSIONDIR="${OIFS_EXPT}/scm_openifs/48r1"
export SCM_PROJDIR="${SCM_VERSIONDIR}/scm-projects"
export SCM_RUNDIR="${SCM_PROJDIR}/ref48r1"
export SCM_LOGFILE="${SCM_RUNDIR}/scm_run_log.txt"
alias scm_env="env -0 | sort -z | tr '\0' '\n' | grep -a SCM_"
echo -e "\nSCM environment variables are:"
echo "------------------------------------------------------"
env -0 | sort -z | tr '\0' '\n' | grep -a SCM_
echo
env.sh
# Empty environment
openifs-test.log
[INFO]: Site/host set to local, so assume dependencies are installed and available
[INFO]: -j not provided as argument, hence using defaults.
Number of threads = 8, which is default for local.
[INFO]: Test launcher:
Test project /gws/ssde/j25a/ai4er/users/pn341/ifs/openifs-48r1.1/build
Start 458: ifs_t21_test_fc
Hi, I believe that we should better move this discussion into a support issue and continue there. Could you please go to OpenIFS Support - OpenIFS - ECMWF Confluence Wiki and create a new support issue? We will continue to correspond on the issue thread.
Once you have done this, could I also ask you to retry installing/building OpenIFS without the option -i, i.e. after sourcing the oifs-config file, try to rebuild the model using the following command: $OIFS_TEST/openifs-test.sh -cbt --clean?