Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recomp-fesom-2.6 fails #1256

Closed
mbutzin opened this issue Dec 12, 2024 · 2 comments
Closed

recomp-fesom-2.6 fails #1256

mbutzin opened this issue Dec 12, 2024 · 2 comments

Comments

@mbutzin
Copy link
Contributor

mbutzin commented Dec 12, 2024

Describe the bug
A clear and concise description of what the bug is.

I successfully installed (and run) FESOM-2.6 on Levante but after modifiying the FESOM source code I cannot recompile FESOM with 'esm_master recomp-fesom-2.6.' However, esm_master comp-fesom-2.6 works as expected.

To Reproduce
Steps to reproduce the behavior:

a270108@levante4:~/esm_codes$ esm_master recomp-fesom-2.6
Executing commands in this order:
cd fesom-2.6
rm -rf build CMakeCache.txt
cd -
rm -f fesom-2.6/bin/fesom.x
cd fesom-2.6
mkdir -p build; cd build; cmake -DCMAKE_INSTALL_PREFIX=../ ..; make install -j nproc --all
cd -
mkdir -p fesom-2.6/bin
Traceback (most recent call last):
File "/home/a/a270108/.local/bin/esm_master", line 33, in
sys.exit(load_entry_point('esm-tools', 'console_scripts', 'esm_master')())
File "/home/a/a270108/esm_tools/src/esm_master/cli.py", line 113, in main
main_flow(parsed_args, target)
File "/home/a/a270108/esm_tools/src/esm_master/esm_master.py", line 107, in main_flow
user_task.execute(ignore_errors) # env)
File "/home/a/a270108/esm_tools/src/esm_master/task.py", line 447, in execute
os.chdir(command.replace("cd ", ""))
FileNotFoundError: [Errno 2] No such file or directory: '-'

Expected behavior
A clear and concise description of what you expected to happen.

Full compilation works without errors:
a270108@levante4:~/esm_codes$ esm_master comp-fesom-2.6
Executing commands in this order:
cd fesom-2.6
mkdir -p build; cd build; cmake -DCMAKE_INSTALL_PREFIX=../ ..; make install -j nproc --all
cd -
mkdir -p fesom-2.6/bin
-- setting default build type: Release
...
[ 99%] Building Fortran object src/CMakeFiles/fesom.x.dir/fesom_main.F90.o
[100%] Linking Fortran executable ../bin/fesom.x
[100%] Built target fesom.x
Install the project...
-- Install configuration: "Release"

Screenshots
If applicable, add screenshots to help explain your problem.

System (please complete the following information):

  • Supercomputer: Levante

  • Version: 6.43.4

Additional context
Add any other context about the problem here.

@mandresm
Copy link
Contributor

mandresm commented Dec 12, 2024

Yes, a PR was merged a bug. The tag affected is precisely 6.43.4. I just added a fix, please try it now after pulling and making sure you are using 6.43.5 version.

@mbutzin
Copy link
Contributor Author

mbutzin commented Dec 12, 2024

Now it works, thanks.

@mbutzin mbutzin closed this as completed Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants