Error in installation #1318
-
Hello. I'm trying to install, compile and run test cases from regtests but facing with some problems with executables. I followed relevant steps described in model/README.md.
Command I used is:
I've tried several approaches to fix but can't fuigure out what is the main problem during installation stage as I'm quite new user of WW3. Could you please help me to have correct guidance for installation, compile and running a regression test case (ww3_tp1.1). Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@jaslanli I was having all kinds of dependency issues on my system with different gcc/gfortran/cmake etc., so I made a docker image to isolate everything. You can try cloning my repo at https://github.com/gonesurfing/WW3 and building the docker image . I was able to run the ww3_tp1.1 test doing this inside the container:
It looks like you are using WSL, so it's entirely possible whatever default version of the gnu toolchain is installed is having issues. I haven't tried with the intel compiler yet. |
Beta Was this translation helpful? Give feedback.
-
@jaslanli , you should use run_cmake_test instead of run_test for the regression tests. Best, |
Beta Was this translation helpful? Give feedback.
@jaslanli , you should use run_cmake_test instead of run_test for the regression tests.
For example, you can find some tutorials here, like Tutorial WW3 compilation which include running a regression test.
Best,