Hello,
I have some problems porting CESM to a local machine witch CentOS 8. Operating system is CentOS8. I have tried two compilers, Intel Parallelstudio 20up02 as well as GNU 8.3.1 in combination with OpenMPI 4.0.4, and created a machine for each of them. I built NetCDF from source; for completion, I attached all important configuration files and scripts.
Gabriel
I have some problems porting CESM to a local machine witch CentOS 8. Operating system is CentOS8. I have tried two compilers, Intel Parallelstudio 20up02 as well as GNU 8.3.1 in combination with OpenMPI 4.0.4, and created a machine for each of them. I built NetCDF from source; for completion, I attached all important configuration files and scripts.
- The module_system in config_machines.xml is only working with Parallelstudio but not with OpenMPI. If you load the modules via command line using “module load”, the modules can be loaded on both systems. After some investigations it turned out that the purge-command seems to work but not the load command (because modules loaded with “module load” are available without module system, but not available when you define purge in the corresponding configuration file). Why?
- When you compile with GNU and OpenMPI, the binding of the libraries fails due to the following error:
I also tried to add the compiler flag -mcmodel=medium, but this did not help.
- When you compile with Parallelstudio, the compilation sometimes completes and sometimes fails with the same error as with GNU. I did not found a clear pattern under which circumstances the compilation is successfully, but it seems to me that this happens when you compile different test cases with different compilers (but I can also be wrong on this point). When the compilation succeeds, the application's run fails, because the __libm_feature_flag cannot be found in any library.
- Some strange behavior regarding config files: Currently, I replace only the necessary components in config_machines.xml and config_compilers.xml with the content of the attached files and leave the rest unchanged. When you replace the complete config_machines.xml and config_compilers.xml with the attached files, ./create_testcase fails with the “ERROR: Expected one child”.
Gabriel