gilgamesh: help with loading Python modules
John Kitchin
jkitchin at andrew.cmu.edu
Mon May 23 08:44:27 EDT 2011
If you add this line:
source /etc/profile.d/modules.sh
to your .bashrc file, then you do not need the -V option to qsub.
-V is an ok option for one time runs in special environments, but it is
tedious to use all the time since you have to manually setup your
environment.
John
-----------------------------------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
http://kitchingroup.cheme.cmu.edu
On Sun, May 22, 2011 at 6:37 PM, Rich Alesi <walesi at andrew.cmu.edu> wrote:
> You won't be able to load those modules directly by default. To load your
> current environment interactively, add the -V option to qsub, this will
> bring your entire environment including the module command.
>
> -Rich
>
> On Sun, May 22, 2011 at 5:50 PM, Asad Hasan <ahasan at andrew.cmu.edu> wrote:
>
>> Hi,
>>
>> Using the webdocs i had used 'module load' my .bashrc to enable
>> loading Python modules like numpy, scipy etc. This works on the head
>> node.
>> However, i'm unable to load these modules on any worker node by using
>> 'module load'.
>>
>> In interactive mode on a worker node, i found that the module command
>> isn't recognized. I got this error message:
>> ----------------
>> -bash-3.2$ module
>> -bash: module: command not found
>> ----------------
>>
>> I'm sure i am missing something basic here ! Do anyone have pointers
>> on how to solve this issue, or atleast a workaround to load Python
>> modules ?
>>
>> Thanks in advance!
>>
>> asad hasan.
>>
>> _______________________________________________
>> gilgamesh-users mailing list
>> gilgamesh-users at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/gilgamesh-users
>>
>
>
>
> --
> Rich Alesi
> Chemical Engineering
> PhD Candidate
> Carnegie Mellon University
> 412.983.4260
>
>
> _______________________________________________
> gilgamesh-users mailing list
> gilgamesh-users at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/gilgamesh-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.andrew.cmu.edu/mailman/private/gilgamesh-users/attachments/20110523/8b55cb61/attachment.html
More information about the gilgamesh-users
mailing list