1 arta 1.1 #!/usr/bin/perl -w
2
3 # run this on each machine to be used.
4 # n00 - for linux_ia32 machines such as n00, ..., n11, etc.
5 # n12 - for linux_x86_64 machines
|
6 arta 1.6 #
7 # *** The caller of this script must cd to the JSOC root directory before running this script. ***
|
8 arta 1.1
|
9 arta 1.4 use Cwd qw(realpath);
10
|
11 arta 1.6 my($cdir) = realpath($ENV{'PWD'});
12 print STDOUT "make of JSOC $cdir\n";
|
13 arta 1.1 system("date");
14
15 # make clean
16 # make -j 4
17
|
18 arta 1.5 system("make clean");
19
20 if (-e "configsdp.txt")
|
21 arta 1.1 {
22 system("make all dsds");
23 }
24 else
25 {
26 system("make");
27 }
28
29 system("date");
|