Changeset 1509
- Timestamp:
- 08/03/09 14:21:57 (16 years ago)
- Location:
- issm/trunk/externalpackages/mpich2
- Files:
-
- 1 edited
- 4 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/mpich2/install.sh
r1371 r1509 1 1 #!/bin/bash 2 2 3 #Get number of cpus on current platform4 NUMCPUS= `grep -c processor /proc/cpuinfo`;3 #Get number of cpus 4 NUMCPUS=$1; 5 5 6 6 #version of mpich2 … … 31 31 32 32 #Compile mpich2 33 make 34 35 #Install 36 make install 33 if [ -z $NUMCPUS ]; 34 then 35 make 36 make install 37 else 38 make -j $NUMCPUS 39 make -j $NUMCPUS install 40 fi
Note:
See TracChangeset
for help on using the changeset viewer.