Dave-

I'm working with Univa support as well.

I started out debugging this with pretty poor grasp of where in the software 
flow the problem
might be. Like most sysadmins, I belong to many community lists, and find them 
to be of tremendous
help in running problems down. They certainly have been in this case- I've 
posted to the modules-interest
sourcefourge group as well.

I choose to use all the resources open to me, including community user forums 
and paid support, Using
a commercial product's support should not preclude one from using other tools 
as well.

Mark

Mark Suhovecky
HPC System Administrator
Center for Research Computing
University of Notre Dame
suhove...@nd.edu
________________________________________
From: users-boun...@open-mpi.org [users-boun...@open-mpi.org] On Behalf Of Dave 
Love [d.l...@liverpool.ac.uk]
Sent: Thursday, January 12, 2012 8:40 AM
To: us...@open-mpi.org
Subject: Re: [OMPI users] ompi + bash + GE + modules

Surely this should be on the gridengine list -- and it's in recent
archives -- but there's some ob-openmpi below.  Can Notre Dame not get
the support they've paid Univa for?

Reuti <re...@staff.uni-marburg.de> writes:

> SGE 6.2u5 can't handle multi line environment variables or functions,
> it was fixed in 6.2u6 which isn't free.

[It's not listed for 6.2u6.]  For what it's worth, my fix for Sun's fix
is https://arc.liv.ac.uk/trac/SGE/changeset/3556/sge.

> Do you use -V while submitting the job? Just ignore the error or look
> into Son of Gridengine which fixed it too.

Of course
you can always avoid the issue by not using `export -f', which isn't in
the modules version we have.  I default -V in sge_request and load
the open-mpi module in the job submission session.  I don't
fin whatever problems it causes, and it works for binaries like
  qsub -b y ... mpirun ...
However, the folkloristic examples here typically load the module stuff
in the job script.

> If you can avoid -V, then it could be defined in any of the .profile
> or alike if you use -l as suggested.  You could even define a
> started_method in SGE to define it for all users by default and avoid
> to use -V:
>
> #!/bin/sh
> module() { ...command...here... }
> export -f module
> exec "${@}"

That won't work for example if someone is tasteless enough to submit csh.

_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to