CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] OpenFOAM version 5 - wrong OpenMPI version?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 20, 2022, 17:24
Default OpenFOAM version 5 - wrong OpenMPI version?
  #1
New Member
 
Torstein Fjermestad
Join Date: Dec 2022
Posts: 1
Rep Power: 0
torstefj is on a distinguished road
Dear all,

I am trying to install OpenFOAM version 5 in my project folder on a high performance computing cluster.

I do the following:
1) I load modules of packages required by OpenFOAM. The output of the command "module list" is the following:

Currently Loaded Modules:
1) StdEnv (S) 4) GCC/6.3.0-2.27 7) ncurses/6.0-GCCcore-6.3.0 10) hwloc/1.11.5-GCC-6.3.0-2.27
2) GCCcore/6.3.0 5) M4/1.4.18-GCCcore-6.3.0 8) CMake/3.9.1-GCCcore-6.3.0 11) OpenMPI/2.0.2-GCC-6.3.0-2.27
3) binutils/2.27-GCCcore-6.3.0 6) flex/2.6.4-GCCcore-6.3.0 9) numactl/2.0.11-GCC-6.3.0-2.27

Where:
S: Module is Sticky, requires --force to unload or purge


2) I add the following line to my ~/.bashrc file
source <installation_dir>/OpenFOAM-5.0/etc/bashrc
and I then type source ~/.bashrc in the terminal window

3) I then execute ./Allwmake

The last few lines of the output seem to indicate that I have made some mistake specifying the OpenMPI version. In the output it shows that OpenMPI/4.1.4-intel-compilers-2022.1.0 is involved, but my intension is to use version OpenMPI/2.0.2-GCC-6.3.0-2.27 as shown by the output of module list above.

Would anyone be able to give me some hints on how I can find out what is wrong?

Thanks in advance for your help.

Regards,
Torstein

The last few lines of the output of ./Allwmake are shown here:

/cluster/projects/nn4683k/eb_v4.5.0_v2_modules/software/binutils/2.27-GCCcore-6.3.0/bin/ld.bfd: warning: libiomp5.so, needed by //cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40, not found (try using -rpath or -rpath-link)
/cluster/projects/nn4683k/eb_v4.5.0_v2_modules/software/binutils/2.27-GCCcore-6.3.0/bin/ld.bfd: warning: libimf.so, needed by //cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40, not found (try using -rpath or -rpath-link)
/cluster/projects/nn4683k/eb_v4.5.0_v2_modules/software/binutils/2.27-GCCcore-6.3.0/bin/ld.bfd: warning: libsvml.so, needed by //cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40, not found (try using -rpath or -rpath-link)
/cluster/projects/nn4683k/eb_v4.5.0_v2_modules/software/binutils/2.27-GCCcore-6.3.0/bin/ld.bfd: warning: libirng.so, needed by //cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40, not found (try using -rpath or -rpath-link)
/cluster/projects/nn4683k/eb_v4.5.0_v2_modules/software/binutils/2.27-GCCcore-6.3.0/bin/ld.bfd: warning: libintlc.so.5, needed by //cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40, not found (try using -rpath or -rpath-link)
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_cpu_features_init_x'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strncat'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libopen-rte.so.40: undefined reference to `__intel_sse2_strcat'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strrchr'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `_intel_fast_memset'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strcpy'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_cpu_feature_indicator_x'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `_intel_fast_memmove'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libopen-pal.so.40: undefined reference to `__intel_sse2_strspn'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `_intel_fast_memcpy'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strdup'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strlen'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strncmp'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libopen-rte.so.40: undefined reference to `_intel_fast_memcmp'
//cluster/software/OpenMPI/4.1.4-intel-compilers-2022.1.0/lib/libmpi.so.40: undefined reference to `__intel_sse2_strchr'
collect2: error: ld returned 1 exit status
make[2]: *** [/cluster/projects/nn4683k/OpenFOAM_source/OpenFOAM-5.0/platforms/linux64GccDPInt32Opt/bin/laplacianFoam] Error 1
make[2]: Leaving directory `/cluster/projects/nn4683k/OpenFOAM_source/OpenFOAM-5.0/applications/solvers/basic/laplacianFoam'
make[1]: *** [laplacianFoam] Error 2
make[1]: Leaving directory `/cluster/projects/nn4683k/OpenFOAM_source/OpenFOAM-5.0/applications/solvers/basic'
make: *** [basic] Error 2
torstefj is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions about Installing OpenFOAM wyldckat OpenFOAM Installation 3 November 14, 2023 12:58
[OpenFOAM.org] [GUIDE] How to compile OpenFOAM source on a cluster/server with no admin rights gabrielfelix OpenFOAM Installation 1 July 5, 2022 06:18
Turbulent flow around a cylinder with pimpleFoam Nazim OpenFOAM Running, Solving & CFD 2 May 19, 2020 07:58
udf error srihari FLUENT 1 October 31, 2016 15:18
Suggestion for a new sub-forum at OpenFOAM's Forum wyldckat Site Help, Feedback & Discussions 20 October 28, 2014 10:04


All times are GMT -4. The time now is 13:49.