<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Weiyang,<div><br></div><div>Can you wait until tomorrow morning? I have to run off campus right now and I do not have the time to give you a complete reply.</div><div>I should be able to look into your problem before noon or so.</div><div><br></div><div><br></div><div>Lorenzo</div><div><br><div><div>On Apr 26, 2011, at 2:14 PM, Weiyang Wang wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">OK, I've "make clean" them and  ow I switched to PrgEnv-cray, and going to use ftn to compile some .for files, although they are currently not recognizable by ftn. I want them to be compiled as F90 files (maybe I have to rename them first? )<div>
<div><br></div><div>Could you kindly check out what's going on here within the makefile?</div><div><br></div><div><br></div><div>======= the first several lines====</div><div><div>OBJDIR = objCSMINPUT</div><div>FC     = ftn</div>
<div>FFLAGS = -O 3 -g</div><div>INC    = -I.</div><div>MKDIR  = mkdir -p</div><div>DIRS   = ../Common ../Input</div><div>RM     = rm -rf</div></div><div>===========================</div><div><br></div><div>===somewhere it starts compiling===</div>
<div><br></div><div><div># Create a list of all source files including folder name</div><div>FSRC   = $(foreach dir,$(DIRS),$(wildcard $(dir)/*.for))</div><div><br></div><div>## Create the list of all object files</div><div>
TOBJ   = $(foreach dir, $(DIRS), $(subst .for,.o,$(notdir $(wildcard $(dir)/*.for))))</div><div><br></div><div># Create the path to store the object files</div><div>FOBJ   = $(foreach obj,$(TOBJ),$(OBJDIR)/$(obj))</div><div>
<br></div><div># Define the subfolders to look for source files</div><div>vpath %.for ../Common ../Input</div><div><br></div><div>$(OBJDIR)/%.o $(OBJDIR)/%.mod: %.for | $(OBJDIR)</div><div>        $(FC) $(FFLAGS) $(INC) -o $@ -c $<</div>
<div><br></div><div>../MINPT040.EXE : $(FOBJ)</div><div>        $(FC) $^ -o $@</div></div><div><br></div><div><br></div><div>============================</div><div><br></div><div><br></div><div><br><br><div class="gmail_quote">
On Wed, Apr 27, 2011 at 2:43 AM, Ketan Maheshwari <span dir="ltr"><<a href="mailto:ketan@mcs.anl.gov">ketan@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word">Hello,<div><br></div><div>This indicates that the executable is not running on beagle compute nodes. Could you kindly send the commandline and the path to your exe, data etc, and I can try to do some testing using aprun and qsub.</div>
<div><br></div><div>Ketan</div><div><br></div><div><br><div><div class="im"><div>On Apr 26, 2011, at 1:26 PM, Weiyang Wang wrote:</div><br></div><div><div></div><div class="h5"><blockquote type="cite">In fact I switched to PrgEnv-gnu to compile it again on Beagle, and it works if I run it plainly on login.beagle<div>
<br><div class="gmail_quote">On Tue, Apr 26, 2011 at 10:53 PM, Ti Leggett <span dir="ltr"><<a href="mailto:leggett@ci.uchicago.edu" target="_blank">leggett@ci.uchicago.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
Was the code you're trying to run compiled on Beagle. IT looks to me like it was compiled on PADS. You must recompile your code on Beagle using the Cray compiler wrappers. Please refer to the Beagle FAQ on how to do this:<br>


<br>
<a href="http://www.ci.uchicago.edu/wiki/bin/view/Beagle/DevelopOnBeagle" target="_blank">http://www.ci.uchicago.edu/wiki/bin/view/Beagle/DevelopOnBeagle</a><br>
<div><div></div><div><br>
On Apr 26, 2011, at 9:34 AM, Weiyang Wang wrote:<br>
<br>
> Hello,<br>
><br>
> I've meet problems when submitting jobs using Swift.<br>
><br>
> My Command Line is like:<br>
><br>
> swift -sites.file ./mysites.xml  -tc.file ./tc.data largescale.swift<br>
><br>
> My mysites.xml is like<br>
> <config><br>
> <pool handle="pbs"><br>
>     <execution provider="pbs" url="none" jobManager="local:pbs"/><br>
>     <profile namespace="globus" key="maxwalltime">0:20:00</profile><br>
>     <profile namespace="globus" key="workersPerNode">8</profile><br>
>     <profile namespace="globus" key="ppn">8</profile><br>
>     <!-- <profile namespace="globus" key="internalHostname">172.5.86.6</profile>--><br>
>     <profile namespace="globus" key="nodeGranularity">1</profile><br>
>     <profile namespace="globus" key="maxNodes">5</profile><br>
>     <profile namespace="karajan" key="jobThrottle">1.99</profile><br>
>     <profile namespace="karajan" key="initialScore">10000</profile><br>
>     <profile namespace="globus" key="project">CI-SES000031</profile><br>
>     <!--gridftp  url="<a>local://localhost</a>" />--><br>
>     <filesystem provider="local"/><br>
>     <!--scratch>/home/frankwang/tmp</scratch>--><br>
>     <workdirectory>/gpfs/pads/projects/CI-SES000031/csm/tempswiftwork</workdirectory><br>
> </pool><br>
> </config><br>
><br>
> My tc.data is like,<br>
> pbs             echo    /bin/echo       INSTALLED       INTEL32::LINUX  null<br>
> pbs             sh      /bin/bash       INSTALLED       INTEL32::LINUX  null<br>
><br>
><br>
> In my swift script I'm running some gfortran compiled programs(I wrap my fortran programs in sh files), and in my error log file, it shows that<br>
><br>
> /gpfs/pads/projects/CI-SES000031/csm/DSSAT040.EXE: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory<br>
><br>
> I didn't meet the same problem when I run these on PADS, and after I swap the module to PrgEnv-gnu when logging onto Beagle I can also run this DSSAT040.EXE.<br>
> My guess is,  I submit the jobs to a Non-GNU Environment in Beagle.<br>
><br>
> How can I correct this?<br>
><br>
> Thank you.<br>
><br>
> Weiyang<br>
</div></div>> _______________________________________________<br>
> beagle-users mailing list<br>
> <a href="mailto:beagle-users@ci.uchicago.edu" target="_blank">beagle-users@ci.uchicago.edu</a><br>
> <a href="http://mail.ci.uchicago.edu/mailman/listinfo/beagle-users" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/beagle-users</a><br>
<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.14 (Darwin)<br>
<br>
iEYEARECAAYFAk223FkACgkQ4RgdOxQVi0AVxgCeNmnQ0e2xgmIZjQ3vkot1SpWf<br>
H5MAnjS/VbEaH7vWSJFcSK+2hs1VHo4d<br>
=8FUi<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br></div>
_______________________________________________<br>beagle-users mailing list<br><a href="mailto:beagle-users@ci.uchicago.edu" target="_blank">beagle-users@ci.uchicago.edu</a><br><a href="http://mail.ci.uchicago.edu/mailman/listinfo/beagle-users" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/beagle-users</a></blockquote>
</div></div></div><br></div></div></blockquote></div><br></div></div>
_______________________________________________<br>Swift-user mailing list<br><a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>http://mail.ci.uchicago.edu/mailman/listinfo/swift-user</blockquote></div><br></div></body></html>