Re: Transferring environment variables when using charmrun

From: Axel Kohlmeyer (
Date: Wed Jul 06 2011 - 07:47:46 CDT

2011/7/6 Ajasja Ljubetiè <>:
> Dear all,
> What is the best transfer the values of environment variables when using
> charmrun to start NAMD instances? mpirun has the -x option, but for charmrun
> I found only ++runscript, which could eventually be used to set the
> right environment variables on the remote host.

indeed, ++runscript is one option. you can also tell charmrun
to use mpirun/mpiexec to launch jobs. i use something like the
following to launch the ibverbs version of NAMD through the
(better) torque launching scheme instead of using ssh:

${NAMD_HOME}/charmrun-ibverbs ++p ${NUM_PROCS} \
     ++mpiexec ++remote-shell "${MPI_BIN}/mpiexec -npernode ${NUM_THREADS}" \
     ${NAMD_HOME}/namd2-ibverbs "$@"


> Thank you & best regards,
> Ajasja Ljubetic,
> Young reasercher,
> Laboratory of biophysics,
> Institute Jo¾ef ©tefan,
> Ljubljana, Slovenia

Dr. Axel Kohlmeyer
Institute for Computational Molecular Science
Temple University, Philadelphia PA, USA.

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:57:25 CST