Hi,
for anyone using Eclipse (Luna) PTP with environment management (aka modules) and
hartree computing center (http://www.stfc.ac.uk/2512.aspx) as remote host.
The environment management did not work for me out of the box.
I searched the ptp-user mailing list for similar discussion topic and found the following
recipe for debugging somewhere back in 2013 -
Compare the result of
ssh daresbury bash --login -c 'module\ avail'
ssh daresbury bash --login -c 'echo\ $MODULEPATH'
with the corresponding results from an interactive shell.
Doing so, I found that $MODULEPATH didn't make it into the Eclipse environment.
Taking the value from the interactive shell, I added the following to my .bashrc
export MODULEPATH=/gpfs/stfc/local/apps/Modules/modulefiles/production
export
MODULEPATH=$MODULEPATH:/gpfs/stfc/local/apps/Modules/modulefiles/other
export
MODULEPATH=$MODULEPATH:/gpfs/stfc/local/apps/Modules/modulefiles/packages
export
MODULEPATH=$MODULEPATH:/gpfs/stfc/local/apps/Modules/modulefiles/tools
source /gpfs/ibm/local/ctt/bin/benchmark_setup.sh
(The last script is appending private module definitions to MODULEPATH).
This solved - or at least worked around the problem.
--
Mit freundlichen Grüßen / Kind regards
Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone: +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospiech@xxxxxxxxxx
-------------------------------------------------------------------------------------------------------------------------------------------
IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter Scholz, Gregor Pillen, Christian Noll, Ivo Koerner
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 14562 / WEEE-Reg.-Nr. DE 99369940
|