]> jspc29.x-matter.uni-frankfurt.de Git - trb3sc.git/commitdiff
nodelist file is given by compile configuration, no symlink needed
authorJan Michel <j.michel@gsi.de>
Tue, 23 Jun 2015 15:56:23 +0000 (17:56 +0200)
committerJan Michel <j.michel@gsi.de>
Tue, 23 Jun 2015 15:58:11 +0000 (17:58 +0200)
scripts/compile.pl
template/config_compile_frankfurt.pl
template/config_compile_gsi.pl
template/nodelist.txt [deleted symlink]

index 028f37f6f6e17616109be44995f637ebb4c6cc53..4e394451fbc97f622ee76b6d3e12239480ce19ff 100755 (executable)
@@ -23,6 +23,7 @@ my $include_TDC                  = $config{include_TDC} || 0;
 my $include_GBE                  = $config{include_GBE} || 0;
 my $twr_number_of_errors         = $config{twr_number_of_errors} || 10;
 my $pinout_file                  = $config{pinout_file} || $TOPNAME;
+my $nodelist_file                = $config{nodelist_file} || 'nodelist.txt';
 
 ###################################################################################
 #Settings for this project
@@ -252,7 +253,7 @@ if($par==1 || $all==1){
     system("rm $TOPNAME.ncd");
     if ($isMultiPar)
     {
-        $c=qq|LC_ALL=en_US.UTF-8; par -m ../nodelist.txt -n $nrNodes  -f "../par.p2t" $tpmap.ncd $TOPNAME.dir $TOPNAME.prf;|;
+        $c=qq|LC_ALL=en_US.UTF-8; par -m ../../scripts/$nodelist_file -n $nrNodes  -f "../par.p2t" $tpmap.ncd $TOPNAME.dir $TOPNAME.prf;|;
         execute($c);
 
         # find and copy the .ncd file which has met the timing constraints
index 7eaea2c0a228a6c2493c4ceb826b6b32349479a4..19a7f88c67dce24cffe92222a4d3d070d84200d4 100644 (file)
@@ -6,6 +6,8 @@ synplify_path                => '/d/jspc29/lattice/synplify/J-2014.09-SP2/',
 synplify_command             => "/d/jspc29/lattice/diamond/3.4_x64/bin/lin64/synpwrap -fg -options",
 #synplify_command             => "/d/jspc29/lattice/synplify/J-2014.09-SP2/bin/synplify_premier_dp",
 
+nodelist_file                => 'nodelist_frankfurt.txt',
+
 
 #Include only necessary lpf files
 #pinout_file                  => '', #name of pin-out file, if not equal TOPNAME
@@ -16,4 +18,3 @@ include_GBE                  => 0,
 firefox_open                 => 0,
 twr_number_of_errors         => 20,
 
-
index b9f3af9ff8b945c10a5a61d38dadfae1c2f8aaaf..28fc49ca6a35a05ea68af121f195e4cd2341ca5f 100644 (file)
@@ -6,6 +6,7 @@ synplify_path                => '/opt/synplicity/J-2014.09-SP2',
 #synplify_command             => "/opt/lattice/diamond/3.4_x64/bin/lin64/synpwrap -fg -options",
 synplify_command             => "/opt/synplicity/J-2014.09-SP2/bin/synplify_premier_dp",
 
+nodelist_file                => 'nodelist_lxhadeb07.txt',
 
 firefox_open                 => 0,
 
diff --git a/template/nodelist.txt b/template/nodelist.txt
deleted file mode 120000 (symlink)
index 072269e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-../scripts/nodes_frankfurt.txt
\ No newline at end of file