Hello,
I'm a beginner of cs 3.2.1 so this question maybe the basic problem but I cannot find the solution.
After launching script, the calculation stopped with the following errors:
**********************
Starting calculation
**********************
ModuleCmd_Purge.c(114):ERROR:107: 'MODULEPATH' not set
./cs_solver: error while loading shared libraries: libacml_mv.so: cannot open shared object file: No such file or directory
solver script exited with status 127.
Error running the calculation.
Check Code_Saturne log (listing) and error* files for details.
****************************
Saving calculation results
****************************
Error in calculation stage.
Can anyone help me??
Thank you in advance,
Nguyen Kha
HELP RUNNING CS 3.2.1
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Re: HELP RUNNING CS 3.2.1
Hello,
Not sure but this may help :
so make sure that you have sourced the module env before running cs.
(something like)
Of course it depends on your installation.
I believe that the other option is to disable loading of modules at installation stage.
Check there should be an option like --with-modules=no
But i'm not sure it will solve the problem anyway
Not sure but this may help :
it seems that your compilation is made with support of Module package.ModuleCmd_Purge.c(114):ERROR:107: 'MODULEPATH' not set
so make sure that you have sourced the module env before running cs.
(something like
Code: Select all
source /applis/Module/3.2.10/init/bash
Of course it depends on your installation.
I believe that the other option is to disable loading of modules at installation stage.
Check
Code: Select all
./configure --help
But i'm not sure it will solve the problem anyway
Re: HELP RUNNING CS 3.2.1
Hello,
Thank you for your reply.
I have checked the file configure but it seems that all modules were loaded : " --with-modules=LIST ".
Anyway thanks again for considering my problem.
Regards,
Nguyen Kha
Thank you for your reply.
I have checked the file configure but it seems that all modules were loaded : " --with-modules=LIST ".
Anyway thanks again for considering my problem.
Regards,
Nguyen Kha
-
- Posts: 4208
- Joined: Mon Feb 20, 2012 3:25 pm
Re: HELP RUNNING CS 3.2.1
Hello,
Here are a few additional details regarding the "module" command:
This command is found on many systems, and is very useful on clusters, so as to allow switching environment variables from one compiler, MPI library, ... to another.
When running Code_Saturne's "configure" command, the loaded modules are detected and saved, so running the code will use the same environment (and multiple parallel installations with different compilers of MPI libraries may be used easily).
Unfortunately, on many clusters, the environment loaded when running batch scripts is often only a subset of the user environment, and environment module handling is not loaded.
As Romain suggested, the best solution is to force loading of module environments, which requires finding the correct command for your systems (your administrators should be able to provide you the correct information here).
To force additional environment options, you may add commands to the "runcase" file, or use the Code_Saturne post-install settings (see installation manual) in threcode_saturne.cfg file to source a script at each run ("rcfile" entry).
As Romain said, you can use the "--with-modules=no" configure option to deactivate automatic handling of environment modules. In this case, you may still need to export environment variables or use the "rcfile" post-install option mentioned above to have the correct environment settings when running the code.
Regards,
Yvan
Here are a few additional details regarding the "module" command:
This command is found on many systems, and is very useful on clusters, so as to allow switching environment variables from one compiler, MPI library, ... to another.
When running Code_Saturne's "configure" command, the loaded modules are detected and saved, so running the code will use the same environment (and multiple parallel installations with different compilers of MPI libraries may be used easily).
Unfortunately, on many clusters, the environment loaded when running batch scripts is often only a subset of the user environment, and environment module handling is not loaded.
As Romain suggested, the best solution is to force loading of module environments, which requires finding the correct command for your systems (your administrators should be able to provide you the correct information here).
To force additional environment options, you may add commands to the "runcase" file, or use the Code_Saturne post-install settings (see installation manual) in threcode_saturne.cfg file to source a script at each run ("rcfile" entry).
As Romain said, you can use the "--with-modules=no" configure option to deactivate automatic handling of environment modules. In this case, you may still need to export environment variables or use the "rcfile" post-install option mentioned above to have the correct environment settings when running the code.
Regards,
Yvan