Skip to content

Socrates Test Case run failure #262

@Maxnwil

Description

@Maxnwil

Socrates Test Case failure

Description

Hello! I've gotten ISCA running with the gray radiation model, but as I try to develop it further, to use Socrates, the test case fails. I think I have properly requested Socrates from the Met Office, downloaded it, and installed it along the lines of README. However, when I run the test case under "/exp/test_cases/socrates_test", I get the following error (pasted below). Any idea what is causing this? It says "see log for details", but I don't exactly know where the log is located. Any help on the matter is greatly appreciated!!

2024-02-16 13:52:54,433 - isca - DEBUG - [mpiexec@login3] main (../../../../../src/pm/i_hydra/mpiexec/mpiexec.c:2096): assert (exitcodes != NULL) failed
Exception in thread background thread for pid 30230:
Traceback (most recent call last):
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
self.run()
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/threading.py", line 953, in run
self._target(*self._args, **self._kwargs)
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/site-packages/sh.py", line 1641, in wrap
fn(*rgs, **kwargs)
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/site-packages/sh.py", line 2569, in background_thread
handle_exit_code(exit_code)
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/site-packages/sh.py", line 2269, in fn
return self.command.handle_command_exit_code(exit_code)
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_255:

RAN: /usr/bin/bash /u/scratch/m/maxnwil/isca_work/experiment/soc_test_aquaplanet/run/run.sh

STDOUT:

STDERR:

2024-02-16 13:52:54,484 - isca - ERROR - Run 1 failed. See log for details.
2024-02-16 13:52:54,484 - isca - ERROR - Error: ErrorReturnCode_255('\n\n RAN: /usr/bin/bash /u/scratch/m/maxnwil/isca_work/experiment/soc_test_aquaplanet/run/run.sh\n\n STDOUT:\n\n\n STDERR:\n')
Traceback (most recent call last):
File "/u/home/m/maxnwil/Isca-Mars/src/extra/python/isca/experiment.py", line 280, in run
proc.wait()
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/site-packages/sh.py", line 845, in wait
self.handle_command_exit_code(exit_code)
File "/u/home/m/maxnwil/miniconda3/envs/isca_env/lib/python3.10/site-packages/sh.py", line 869, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_255:

RAN: /usr/bin/bash /u/scratch/m/maxnwil/isca_work/experiment/soc_test_aquaplanet/run/run.sh

STDOUT:

STDERR:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/u/home/m/maxnwil/Isca-Mars/exp/test_cases/socrates_test/socrates_aquaplanet.py", line 203, in
exp.run(1, use_restart=False, num_cores=NCORES, overwrite_data=False)
File "/u/home/m/maxnwil/Isca-Mars/src/extra/python/isca/helpers.py", line 22, in _destructive
return fn(*args, **kwargs)
File "/u/home/m/maxnwil/Isca-Mars/src/extra/python/isca/helpers.py", line 38, in _useworkdir
return fn(*args, **kwargs)
File "/u/home/m/maxnwil/Isca-Mars/src/extra/python/isca/experiment.py", line 294, in run
raise FailedRunError()
isca.experiment.FailedRunError


Screenshots


Isca version

I'm using Isca-Mars, from Emily Ball
https://github.com/emilyrball/Isca-Mars/tree/bp1_lh_dev


System Information:
To help us track down bugs faster, please provide the details about the machine where you run Isca.

To do this, run the following code in Python:

import platform
print(platform.uname())

and paste the output below.

# Paste system info here
uname_result(system='Linux', node='login3', release='3.10.0-1160.95.1.el7.x86_64', version='#1 SMP Mon Jul 24 13:59:37 UTC 2023', machine='x86_64')

Minimal reproducible example

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions