Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-dev] For Remote Launch, GNUmake not found and not getting login shell

Hey All,

I am using the latest M4 Parallel Eclipse download to try a remote build/run of a Fortran project.  The "Remote Launch" Resource Manager seems to be working, except to build it uses the command...
$/usr/bin/make -C /scr_iter/alexanda/eclipseM4/source all
This is wrong because in our case there is a top level GNUmakefile that needs to be used one directory up from "source", so this command fails.  Is there a way to set the directory to be the "project directory" on the remote machine?

Also, to run we need to call "make tests".  Furthermore, it needs to be, of course, called from the directory above source and we need some environment setup first.  I can get it to work by making the executable a script that contains...
#!/bin/sh

# Setup Environment
source ~/.bashrc
source /usr/local/intel/bin/compilervars.sh intel64
export PATH=/usr/local/openmpi-intel/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/openmpi-intel/lib:$LD_LIBRARY_PATH

# Run Tests
make tests
But this seems like a kluge.  Why don't I get a login shell on the remote host?  Am I using the wrong Resource Manager?  I tried using the PBS-Generic-Batch to go through the queue, but that didn't work (the RM would not start -- "Server finished with exit code 255").

Any help would be much appreciated.

Thanks!
-- 
Dave Alexander
begin:vcard
fn:David Alexander
n:Alexander;David
org:Tech-X Corporation;Quality Assurance and Releases
adr:;;5621 Arapahoe Avenue;Boulder;CO;80303;USA
email;internet:alexanda@xxxxxxxxxx
title:Director of QAR
tel;work:303-448-7751
tel;fax:303-448-7756
tel;home:720-581-6737
tel;cell:720-581-6737
x-mozilla-html:TRUE
url:http://www.txcorp.com
version:2.1
end:vcard


Back to the top