charmc rpath

From: Scott Brozell (
Date: Thu Jan 21 2016 - 22:04:41 CST


The charmc rpath option does not work as documented while installing

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

Usage: charmc [ flags ] <files>

        -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:


This archive was generated by hypermail 2.1.6 : Tue Dec 27 2016 - 23:21:45 CST