Hi Jonathan,<br><br>You can add 'module load mpi...' in your ~/.profile (if using bash) or ~/.login (if using tcsh).<br><br><br>Eh<br><br><div class="gmail_quote">On Fri, Mar 1, 2013 at 5:36 AM, Jonathan Perry-Houts <span dir="ltr"><<a href="mailto:jperryhouts@gmail.com" target="_blank">jperryhouts@gmail.com</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>
Hi all,<br>
<br>
I was wondering if there's a simple way to modify the script that gets<br>
run when I run the citcoms executable. The cluster I'm using has<br>
several versions of MPI installed and I need to run `module load<br>
mpi...` at the start of any session to set the appropriate environment<br>
variables for the MPI version I want.<br>
<br>
The problem I'm having is that once the citcom job submits its self to<br>
the PBS queue, it tries to use MPI without loading the appropriate<br>
module first. Is there a way to easily change this behavior?<br>
<br>
Thanks in advance for any help!<br>
<br>
Cheers,<br>
Jonathan Perry-Houts<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.11 (GNU/Linux)<br>
Comment: Using GnuPG with undefined - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
iQEcBAEBAgAGBQJRL83IAAoJEGe6xJ1FYRpR0BAH/jCO5aKHQFwMIWz9jqaQvRRQ<br>
LVRuewu6i39W4Bzj6s8MmvedKMLDG8YUm3nSj/qPmoatLdXxO1qse8wKm61HniuK<br>
FTyrvLXJ3oZKptZRQlFAqtVh7HKKtPRlvhDiPbJ84oyZobZJVCOiSnDo7TvK8+7l<br>
PxCx9y38BQgkYVhUc6RUNNHe6D3nVSlP2yfpzdjRbl3WElfgAiXO8T5QTQ66UsL7<br>
Hhclgo/2rSBHsjnCBijWIi3bDRRTqM02O0d8ruU+yDx+rDBiBwTmikuj2knn2koi<br>
ivmaGfzIymqEIUIOTH5aG5BOvKB8HFBZJaSl4MprZhM8vei2ENBpOYBX5pPk6Ms=<br>
=2nHt<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
CIG-MC mailing list<br>
<a href="mailto:CIG-MC@geodynamics.org">CIG-MC@geodynamics.org</a><br>
<a href="http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc" target="_blank">http://geodynamics.org/cgi-bin/mailman/listinfo/cig-mc</a><br>
</blockquote></div><br>