Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Kepler environment management *** oops ?

Christoph,

If you put 'module list' into a shell script and execute it from the command line on the machine, does it work? If not, you'll need to find out from the system administrator how to use module commands in shell scripts.

It may be that 'module' is a shell function rather than a command, so the script needs to be properly set up before it can use modules. If this is the case, you may need to modify the target system configuration so that the submission script has the additional commands required to set this up correctly.

Greg

On Jul 10, 2013, at 5:13 AM, Christoph Pospiech <Christoph.Pospiech@xxxxxxxxxx> wrote:

> Hi,
> 
> could it be that the script generated by Kepler environment management doesn't 
> find the module command ? At least that is how I interpret the following error 
> messages (cut and pasted from Eclipse Console).
> 
> 10:57:10 **** Build of configuration SuperMUC for project par_xmp ****
> make C/hello_par 
> 
> **** Environment configuration script temporarily stored in 
> /tmp/di69job/ptpscript_kQZClU ****
> /tmp/di69job/ptpscript_kQZClU: line 7: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 9: module: command not found
> module purge >/dev/null 2>&1
> module load admin/1.0
> module load tempdir/1.0
> module load lrztools/1.0
> module load mkl/11.0
> module load fortran/intel/12.1
> module load ccomp/intel/12.1
> module load poe/1.3
> module load mpi.ibm/1.3
> module load lrz/default
> module load git/latest
> make C/hello_par 
> ( cd C/hello_par; make )
> make[1]: Entering directory 
> `/gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par'
> make -C /gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/obj_Linux_intel64 
> -f /gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/Makefile 
> /gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par
> /tmp/di69job/ptpscript_kQZClU: line 11: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 13: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 15: module: command not found
> make[2]: Entering directory 
> `/gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/obj_Linux_intel64'
> /tmp/di69job/ptpscript_kQZClU: line 17: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 19: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 21: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 23: module: command not found
> /tmp/di69job/ptpscript_kQZClU: line 25: module: command not found
> mpiicc -g /gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/hello_par.c  -o 
> /gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par
> make[2]: mpiicc: Command not found
> make[2]: *** 
> [/gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/bin_Linux_intel64/hello_par] 
> Error 127
> make[1]: *** [all] Error 2
> make: *** [C/hello_par] Error 2
> make[2]: Leaving directory 
> `/gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par/obj_Linux_intel64'
> make[1]: Leaving directory 
> `/gpfs/work/pr63vu/di69job/xample/par_xmp/C/hello_par'
>> Shell Completed (exit code = 0)
> 
> 10:57:26 Build Finished (took 15s.507ms)
> 
> Remarks:
> 1. If "module load ccomp/intel/12.1" is not properly executed (as it seems), 
> "make[2]: mpiicc: Command not found" is a consequence from the module 
> calamity.
> 2. Environment management is able to query the list of available and the list 
> of currently loaded modules OK. So it appears to be a problem of  
> /tmp/di69job/ptpscript_kQZClU only.
> 3. In an ordinary shell I get the following.
> di69job@login04:~> which module
> which: no module in 
> (/lrz/sys/tools/git/latest/bin:/lrz/sys/parallel/mpi.ibm/pecurrent/intel/bin::/lrz/sys/intel/icc_121_367/composer_xe_2011_sp1.13.367/bin/intel64:/lrz/sys/intel/ifort_121_367/composer_xe_2011_sp1.13.367/bin/intel64:/lrz/sys/tools/lrztools/1.0/bin:/lrz/sys/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/opt/ibutils/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/lrz/sys/share/Thin_Node/bin:/opt/ibmll/LoadL/resmgr/full/bin)
> di69job@login04:~> module list
> Currently Loaded Modulefiles:
> 1) admin/1.0           5) fortran/intel/12.1  9) lrz/default        
> 2) tempdir/1.0         6) ccomp/intel/12.1   10) git/latest         
> 3) lrztools/1.0        7) poe/1.3            
> 4) mkl/11.0            8) mpi.ibm/1.3 
> 
> Does anyone know a similar problem - and a cure for this ? What further steps 
> should I do to debug the problem ?
> -- 
> 
> Mit freundlichen Grüßen / Kind regards
> 
> Dr. Christoph Pospiech
> High Performance & Parallel Computing
> Phone: +49-351 86269826
> Mobile: +49-171-765 5871
> E-Mail: christoph.pospiech@xxxxxxxxxx
> -------------------------------------------------------------------------------------------------------------------------------------------
> IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
> Geschäftsführung: Martina Koederitz (Vorsitzende), Reinhard Reschke, Dieter 
> Scholz, Gregor Pillen, Joachim Heel, Christian Noll
> Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
> 14562 / WEEE-Reg.-Nr. DE 99369940 
> 
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top