- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I built Openmpi with ifort successfully.
I am trying to use Openmpi with ifort but got the following error,
Undefined symbols for architecture x86_64:
"_ompi_buffer_detach_f08", referenced from:
System: macOS Catalina
openmpi-4.0.5.tar.gz
$ ./configure --prefix=/usr/local/share/
$ make all install
Intel fortran
m_fcompxe_2020.2.899.dmg
Any idea about how to fix this?
Best regards,
Sean
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you might need to read the OpenMPI configure options. I believe you need to set the Fortran compiler to Intel. Default is normally gfortran FC=ifort for example.
Or search for how to build OpenMPI for Intel Fortran.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks.
It was configured with ifort because GCC was not installed in the macOS,
that is why I didn't specify the FC in the configuration file.
This was identified to be an issue of Intel Fortran as can be seen from the following discussion.
I don't know if this issue has been reported to Intel Fortran development team.
https://github.com/open-mpi/ompi/issues/7615
https://ntq1982.github.io/files/20200621.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I had the same problem and here's how I made openmpi work for macOS 10.15.7, Xcode 11.7, intel parallel studio xe 19.1.3.301 and openMPI 4.0.5. Configure openmpi 4.0.5:
./configure --prefix=/opt/openmpi CC=icc CXX=icc F77=ifort FC=ifort lt_prog_compiler_wl_FC=-Wl,
# Additional compiler flags for building library objects.
pic_flag=" -fno-common -fPIC"
# How to pass a linker flag through the compiler.
wl="-Wl,"
Then make and install openmpi:
sudo make all install
And then another tedious compiler and system upgrade day comes to a close...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Also, I after upgrading the PSXE today, I had the zsh bug with
source /opt/intel/bin/compilervars.sh intel64
where it complained
remove_duplicate_paths:4: bad substitution
remove_duplicate_paths:4: bad substitution
...
and this fix worked for that.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page