Hi Carlos,

On 07/01/16 17:21, Carlos Miguel Bustillo Rdguez wrote:
Hello list:

I am installing "libibverbs-1.1.4-GCC-4.6.3.eb", but I have problem compiling gcc-4.6.3 as you can see below. My cluster in built in Debian 8 amd64. Do you recommend CentOS to avoid some compatibility issues or is fine any distro?

I think there are two problems here.

One issue is that you're trying to build an old GCC version on a modern OS; there have been other reports on problems with this. So, you're choice of using --try-toolchain to try building with a more recent version of GCC is the right one, I'd say.

To respond to your question on Debian vs CentOS: EasyBuild should work just a well on either, but is used more often on CentOS (or other RedHat derivatives), and hence probably more stable than on Debian. Nevertheless, if you run into problems on Debian-based systems, they're bugs that we're not aware of yet (or which haven't been fixed yet), so please do report them, either via the mailing list or by opening an issue on GitHub.

The other problem is that you're installing libibverbs with EasyBuild.
Although you can make it work, as you've seen after using a recent GCC and dealing with the download issue, it's probably not the best thing to do. The reason why there are no easyconfig files for recent versions of libibverbs is because we've realized that libibverbs is too closely connected to the IB drivers provided by the OS (since you need root for those).

Although you can install libibverbs with EasyBuild, as soon as the IB drivers on your OS are updated, the build is likely rendered useless.
So, you'll need to rebuild libibverbs...
For libibverbs specifically, it's probably easier in the long run to just use the one packaged by the OS.

This is also what we do in recent versions of OpenMPI: we specify that libibverbs must be provided via the OS, via 'osdependencies' in the corresponding easyconfig files.

<snip>

In the attached log file (easybuild-syIy3f-whit-different-toolchain-version.log), you can see the line:

== 2016-01-07 08:50:44,129 runpy.filetools WARNING URL http://www.openfabrics.org/downloads/libibverbs/libibverbs-1.1.4-1.24.gb89d4d7.tar.gz was not found (HTTP response code 400), not trying again

The problem is that "http://www.openfabrics.org/downloads/libibverbs/libibverbs-1.1.4-1.24.gb89d4d7.tar.gz"; don't redirect to "https://www.openfabrics.org/downloads/libibverbs/libibverbs-1.1.4-1.24.gb89d4d7.tar.gz"; when you get previous link, instead if you get "http://www.openfabrics.org/downloads/libibverbs";, its redirect to https, may be a server configuration error... To solve this I downloaded the tarball manually and copied it to my sources directory (/home/CLUSTER/uclv.carlosbr/.local/easybuild/sources/l/libibverbs/), the I repeated the previous command and worked fine!!

Any comments and suggestions are welcome!

The workaround you've used to deal with the download issue is the right one: download manually, and provide it to EasyBuild by copying the tarball to the EasyBuild source path.

To fix this, we have to update the 'source_urls' lines in the libibverbs easyconfigs we include in the EasyBuild releases, to use https .


regards,

Kenneth

Reply via email to