![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Makefile | NamrataGurav | High Level Programming | 7 | 10-07-2006 02:29 PM |
| about the makefile | ligerdave | High Level Programming | 2 | 01-31-2006 01:21 AM |
| makefile help | pieter023 | Shell Programming and Scripting | 1 | 06-06-2005 01:20 AM |
| makefile | raagbansal | UNIX for Advanced & Expert Users | 1 | 12-22-2004 09:59 AM |
| problem with Makefile | sskb | UNIX for Advanced & Expert Users | 3 | 08-27-2002 09:01 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Makefile problem - How to run module load in a Makefile
Hi, I'm trying to run the module load command in a Makefile and i'm getting the following error:
make: module: command not found Why is this? Is there any way to run this command in a Makefile? NOTE: command - module load msjava/sunjdk/1.5.0 works fine outside of the Makefile |
|
||||
|
You mean like NERSC Software Modules? It looks like it's only supported for interactive shells, based on a very brief look.
|
|
||||
|
Makefile problem - How to run module load in a Makefile
>module load msjava/sunjdk/1.5.0 works on the command line but fails with:
>module: command not found when used in make, bash, etc script files. This is because the module enviroment has not been loaded, as it is for a normal user session. try adding some thing similar to this before your module load call: . /usr/share/modules/init/bash module load msjava/sunjdk/1.5.0 Morgan |
| Sponsored Links | ||
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|