version 1.2, 2008/02/15 18:31:18
|
version 1.6, 2012/02/08 23:58:44
|
|
|
# run this on each machine to be used. | # run this on each machine to be used. |
# n00 - for linux_ia32 machines such as n00, ..., n11, etc. | # n00 - for linux_ia32 machines such as n00, ..., n11, etc. |
# n12 - for linux_x86_64 machines | # n12 - for linux_x86_64 machines |
|
# |
|
# *** The caller of this script must cd to the JSOC root directory before running this script. *** |
| |
my($scriptpath) = $0; |
use Cwd qw(realpath); |
print STDOUT "make of JSOC $scriptpath\n"; |
|
system("date"); |
|
|
|
my($wd); |
|
$wd = $scriptpath; |
|
if ($wd =~ /(.+)\/\S+$/) |
|
{ |
|
$wd = $1; |
|
} |
|
| |
chdir($wd); |
my($cdir) = realpath($ENV{'PWD'}); |
|
print STDOUT "make of JSOC $cdir\n"; |
|
system("date"); |
| |
# make clean | # make clean |
# make -j 4 | # make -j 4 |
| |
if (-e "suflag.txt") |
system("make clean"); |
|
|
|
if (-e "configsdp.txt") |
{ | { |
system("make all dsds"); | system("make all dsds"); |
} | } |