[gmx-developers] cmake build of gromacs 4.5.4 problem

Christoph Junghans junghans at votca.org
Wed Jun 1 11:55:25 CEST 2011

Am 06/01/2011 09:06 AM, schrieb Ake Sandgren:
> Hi!
> Doing a cmake build of gromacs 4.5.4 libgmx.so.6 ends up with a RPATH
> that looks like this.
> p-bc9902 [itest]$ chrpath -l src/gmxlib/libgmx.so.6
> src/gmxlib/libgmx.so.6:
> RPATH=/lap/intel-c/
> Those "::::" at the end are slightly bad.
> The auto* based build does not have this problem.
> Could you take a look at eliminating them? Or did i screw up something?
> I.e. do they exist when you do a cmake build too or is it just me?
Hi Ake,

I cannot reproduce your problem with cmake

$ readelf -d libgmx.so | grep path
  0x000000000000000f (RPATH)              Library rpath: 
  0x000000000000001d (RUNPATH)            Library runpath: 

$ ldd libgmx.so | grep intel
         libimf.so => 
         libsvml.so => 
         libintlc.so.5 => 

I guess something is screwed up in your environment, which overwrites 
the default rpath of cmake. I normally use compilervars.sh coming with 
the Intel compiler to setup my environment.



More information about the gromacs.org_gmx-developers mailing list