charmc rpath

From: Scott Brozell (srb_at_osc.edu)
Date: Thu Jan 21 2016 - 22:04:41 CST

Hi,

The charmc rpath option does not work as documented while installing
NAMD_2.11_Source/Linux-x86_64-icc.

rpath is in the usage statement, but without the equals sign:
===
Charm++ Version 60700

Usage: charmc [ flags ] <files>

  flags:
..
        -flibs -rpath <path> -custom-part -touch-on-failure
..
===

That last line should be
        -flibs -rpath=<path> -custom-part -touch-on-failure

Without the equals sign charmc passes it verbatim directly into the compiler:
===
charmc: Executing mpicxx -DCMK_GFORTRAN -rdynamic -static-intel -O2 -ip -no-vec -L/usr/lib -L/usr/local/fftw3/intel/15/mvapich2/2.1/3.3.4//lib -I.rootdir/charm-6.7.0/mpi-linux-x86_64/include -rpath /usr/local/fftw3/intel/15/mvapich2/2.1/3.3.4//lib -o namd2
..
icpc: command line warning #10006: ignoring unknown option '-rpath'
/usr/local/fftw3/intel/15/mvapich2/2.1/3.3.4//lib: file not recognized: Is a directory
Fatal Error by charmc in directory
..
===

Note that rpath is not documented here:
http://charm.cs.illinois.edu/manuals/html/charm++/manual.html

scott

This archive was generated by hypermail 2.1.6 : Sun Dec 31 2017 - 23:20:08 CST