mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: b/BerkeleyGW/BerkeleyGW-2.1.0-intel-2020b-Python-3.8.6.eb new file: b/BerkeleyGW/BerkeleyGW-2.1.0_missing_file.patch new file: b/BerkeleyGW/BerkeleyGW-2.1.0_tests.patch new file: d/DFTB+/DFTB+-21.1-intel-2020b-Python-3.8.6.eb new file: d/DFTB+/config.cmake-MANUAL-INSTALATION.patch new file: d/dftd3-lib/dftd3-lib-0.9.2-GCC-10.2.0.eb new file: d/dftd3-lib/dftd3-lib-0.9.2_fix-extras-syntax.patch new file: e/ELPA/ELPA-2019.11.001-intel-2020b.eb new file: h/HDF5/HDF5-1.10.6-iimpi-2020b.eb new file: h/h5py/h5py-2.10.0-intel-2020b-Python-3.8.6.eb new file: h/hypothesis/hypothesis-6.13.1-GCC-10.2.0.eb new file: i/impi/impi-2021.2.0-intel-compilers-2021.2.0.eb new file: i/intel-compilers/intel-compilers-2021.2.0.eb new file: n/Newton-X/Newton-X-2.2-B09-intel-2020b.eb new file: n/Newton-X/newton-x-2.2.patch new file: p/pkgconfig/pkgconfig-1.5.1-GCCcore-10.2.0-python.eb new file: p/pybind11/pybind11-2.4.3-GCC-10.2.0-Python-3.8.6.eb new file: p/pybind11/pybind11-2.6.0-GCC-10.2.0-Python-3.8.6.eb new file: s/Schrodinger/Schrodinger_2021-2_Linux-x86_64.eb new file: s/SciPy-bundle/SciPy-bundle-2020.03-intel-2020b-Python-3.8.6.eb new file: s/SciPy-bundle/SciPy-bundle-2021.05-intel-2020b.eb
71 lines
2.7 KiB
Diff
71 lines
2.7 KiB
Diff
--- NX-2.2-B09/install/installnx.pl.orig 2020-03-06 12:35:13.000000000 +0100
|
|
+++ NX-2.2-B09/install/installnx.pl 2021-06-08 07:41:44.615480573 +0200
|
|
@@ -22,7 +22,7 @@
|
|
|
|
# 1) Select compiler
|
|
#$comp = "ifort";
|
|
- $comp = "gfortran";
|
|
+ $comp = "$ARGV[0]";
|
|
|
|
# 2) Choose the BLAS/LAPACK variables (_OD will be used for cioverlap_od only)
|
|
if($comp eq "ifort"){
|
|
@@ -44,8 +44,8 @@
|
|
}
|
|
|
|
# 3) Choose GSL paths:
|
|
- $idgsl="/usr/include/gsl"; # Headers
|
|
- $ldgsl="/usr/lib"; # Libraries
|
|
+ $idgsl="$ARGV[1]/include/gsl"; # Headers
|
|
+ $ldgsl="$ARGV[1]/lib"; # Libraries
|
|
|
|
# 4) If necessary (usually it isn't), change the flags for the selected compiler (_OD will be used for cioverlap_od only)
|
|
if ($comp eq "ifort"){
|
|
@@ -98,13 +98,14 @@
|
|
#================================================================
|
|
#
|
|
sub create_dir{
|
|
- print STDOUT "\n Please enter directory for the NEWTON-X installation \n ";
|
|
- $_ = <STDIN>;
|
|
- chomp;$_ =~ s/^\s*//;$_ =~ s/\s*$//;
|
|
- $instd = $_;
|
|
+ #print STDOUT "\n Please enter directory for the NEWTON-X installation \n ";
|
|
+ #$_ = <STDIN>;
|
|
+ #chomp;$_ =~ s/^\s*//;$_ =~ s/\s*$//;
|
|
+ $instd = $ARGV[2];
|
|
|
|
if (!-s $instd){
|
|
- $create_d=simple_question("\n This directory seems not to exist - create it? (y/n) ","y");
|
|
+ #$create_d=simple_question("\n This directory seems not to exist - create it? (y/n) ","y");
|
|
+ $create_d = "y";
|
|
if ($create_d eq "y"){
|
|
system("mkdir -p $instd");
|
|
if (-s $instd){
|
|
@@ -140,7 +141,7 @@
|
|
print STDOUT " [4] Time-dependent overlaps I (CIOVERLAP)\n";
|
|
print STDOUT " [5] Time-dependent overlaps II (CIOVERLAP_OD)\n";
|
|
print STDOUT " Enter comma separated list or dash separated range (<ENTER> for default): ";
|
|
- $_=<STDIN>;
|
|
+ $_=$ARGV[3];
|
|
chomp;$_ =~ s/^\s*//;$_ =~ s/\s*$//;
|
|
@list=make_num_sequence($_);
|
|
if (($_ eq "") or ($_ eq "0")){
|
|
@@ -358,12 +359,12 @@
|
|
#
|
|
sub copy_nx{
|
|
print_STDOUT(" Copying files ");
|
|
- copyfiles("$original_dir/../","source",$instd,1);
|
|
- copyfiles("$original_dir/../","docs",$instd,1);
|
|
- copyfiles("$original_dir/../","test-nx",$instd,1);
|
|
- copyfiles("$original_dir/../","batch",$instd,1);
|
|
- copyfiles("$original_dir/../","install",$instd,1);
|
|
- copyfiles("$original_dir/../","README.install",$instd,1);
|
|
+ copyfiles("$original_dir/NX-2.2-B09/","source",$instd,1);
|
|
+ copyfiles("$original_dir/NX-2.2-B09/","docs",$instd,1);
|
|
+ copyfiles("$original_dir/NX-2.2-B09/","test-nx",$instd,1);
|
|
+ copyfiles("$original_dir/NX-2.2-B09/","batch",$instd,1);
|
|
+ copyfiles("$original_dir/NX-2.2-B09/","install",$instd,1);
|
|
+ copyfiles("$original_dir/NX-2.2-B09/","README.install",$instd,1);
|
|
# Create bin directory
|
|
if (!-e $bin){
|
|
system("mkdir $bin");
|