Changeset 1507
- Timestamp:
- 08/03/09 13:49:41 (16 years ago)
- Location:
- issm/trunk/externalpackages/dakota
- Files:
-
- 1 edited
- 3 moved
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/externalpackages/dakota/install.sh
r1378 r1507 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 #Some cleanup … … 72 72 73 73 74 #Compile dakota74 #Compile and install dakota 75 75 cd src 76 make -j $NUMCPUS 77 78 #Install dakota 79 make -j $NUMCPUS install 80 76 if [ -z $NUMCPUS ]; 77 then 78 make 79 make install 80 else 81 make -j $NUMCPUS 82 make -j $NUMCPUS install 83 fi 81 84 82 85 #Weird behaviour of Dakota: libamplsolver.a and amplsolver.a are not the same thing!
Note:
See TracChangeset
for help on using the changeset viewer.