Arman_N |
October 13, 2020 04:42 |
2 Attachment(s)
Dear Antimony,
Thank you for your reply.
I have already gave the link to the HPC host and they told me that devtoolset-8 was used for the compilation.
Anyway, I think that as you mentioned, foam-extend-4.1 may not be compatible with CentOS 6.10.
Therefore, I tried installing foam-extend-4.0. This time, the second type of error about "unrecognized command line option" did not occur.
However, the first error type still remains:
Code:
libtool: install: warning: `../../../ompi/libmpi.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
libtool: install: warning: `../../../oshmem/liboshmem.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
libtool: install: warning: `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/BUILD/openmpi-1.8.8/ompi/libmpi.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
libtool: install: warning: `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/BUILD/openmpi-1.8.8/orte/libopen-rte.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
libtool: install: warning: `../../../orte/libopen-rte.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
libtool: install: warning: `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/BUILD/openmpi-1.8.8/opal/libopen-pal.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
libtool: install: warning: `../../../opal/libopen-pal.la' has not been installed in `/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib'
+ echo ''
+ echo 'Generating foam-extend specific .csh and .sh files for the package openmpi-1.8.8'
+ echo ''
+ mkdir -p /share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/BUILDROOT/openmpi-1.8.8-linux64GccDPOpt.x86_64//share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/etc
+ cat
+ cat
+ mkdir -p /share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/TGZS/x86_64
+ cd /share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/BUILDROOT/openmpi-1.8.8-linux64GccDPOpt.x86_64//share/apps/OpenFOAM/foam-extend-4.0/ThirdParty
+ tar -zcvf /share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/rpmBuild/TGZS/x86_64/openmpi-1.8.8.tgz packages/openmpi-1.8.8
+ /usr/lib/rpm/check-rpaths /usr/lib/rpm/check-buildroot
*******************************************************************************
*
* WARNING: 'check-rpaths' detected a broken RPATH and will cause 'rpmbuild'
* to fail. To ignore these errors, you can set the '$QA_RPATHS'
* environment variable which is a bitmask allowing the values
* below. The current value of QA_RPATHS is 0x0000.
*
* 0x0001 ... standard RPATHs (e.g. /usr/lib); such RPATHs are a minor
* issue but are introducing redundant searchpaths without
* providing a benefit. They can also cause errors in multilib
* environments.
* 0x0002 ... invalid RPATHs; these are RPATHs which are neither absolute
* nor relative filenames and can therefore be a SECURITY risk
* 0x0004 ... insecure RPATHs; these are relative RPATHs which are a
* SECURITY risk
* 0x0008 ... the special '$ORIGIN' RPATHs are appearing after other
* RPATHs; this is just a minor issue but usually unwanted
* 0x0010 ... the RPATH is empty; there is no reason for such RPATHs
* and they cause unneeded work while loading libraries
* 0x0020 ... an RPATH references '..' of an absolute path; this will break
* the functionality when the path before '..' is a symlink
*
*
* Examples:
* - to ignore standard and empty RPATHs, execute 'rpmbuild' like
* $ QA_RPATHS=$[ 0x0001|0x0010 ] rpmbuild my-package.src.rpm
* - to check existing files, set $RPM_BUILD_ROOT and execute check-rpaths like
* $ RPM_BUILD_ROOT=<top-dir> /usr/lib/rpm/check-rpaths
*
*******************************************************************************
ERROR 0002: file '/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib/libopen-rte.so.7.0.6' contains an invalid rpath '/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib' in [/share/apps/OpenFOAM/foam-extend-4.0/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPOpt/lib]
The output files are attached below.
As far as I have understood, it is a problem with the system RPM checking RPATHs. I found in some forums (i.e. here and here) that removing the entry " /usr/lib/rpm/check-rpaths" from " ~/.rpmmacros" file would solve the problem. But I could not locate such a file on the remote system.
I am not familiar with these settings and I don't know what to do.
I would appreciate if anyone could help me out on this.
Thanks
|