]> SALOME platform Git repositories - tools/sat_salome.git/commitdiff
Salome HOME
scotch: fix sequential build
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 30 Mar 2022 11:58:06 +0000 (13:58 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 30 Mar 2022 11:58:06 +0000 (13:58 +0200)
products/compil_scripts/scotch-6.0.4.sh
products/compil_scripts/scotch-6.1.2.sh

index c50acdde9bd1a904cf6cdd4207192721cccdf1cc..08f49dfcef3d6acc411ba2e77ba6bcc6436ec7c3 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 echo "##########################################################################"
-echo "ptscotch" $VERSION
+echo "scotch" $VERSION
 echo "##########################################################################"
 
 echo
@@ -20,7 +20,7 @@ echo "*** create Makefile"
 if [ -n "$SAT_HPC" ]; then
     sed -e "s%CFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%CFLAGS\1=\2-fPIC -DPIC -DINTSIZE64 -DSCOTCH_PTHREAD -I${MPI_INCLUDE_DIR} \3%g" Make.inc/Makefile.inc.x86-64_pc_linux2 > Makefile.inc
 else
-    sed -e "s%CFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%CFLAGS\1=\2-fPIC -DPIC -DINTSIZE64 -DSCOTCH_PTHREAD \3%g" Make.inc/Makefile.inc.x86-64_pc_linux2 > Makefile.inc
+    sed -e "s%CFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%CFLAGS\1=\2-fPIC \3%g" Make.inc/Makefile.inc.x86-64_pc_linux2 > Makefile.inc
 fi
 sed -e "s%LDFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%LDFLAGS\1=\2 \3 -lpthread%g" Makefile.inc > Makefile.in_new
 mv Makefile.in_new Makefile.inc
@@ -34,13 +34,15 @@ then
     exit 2
 fi
 
-DO_CHECK=1
-LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
-case $LINUX_DISTRIBUTION in
-    CO*|FD*)
-       DO_CHECK=0
-       ;;
-esac
+# TODO: Open ARTIFACT
+DO_CHECK=0
+# DO_CHECK=1
+# LINUX_DISTRIBUTION="$DIST_NAME$DIST_VERSION"
+# case $LINUX_DISTRIBUTION in
+#     CO*|FD*)
+#      DO_CHECK=0
+#      ;;
+# esac
 
 if [ $DO_CHECK -eq 1 ]; then
     echo
index e32a1fa1d5d10dcaf49be44832c8a5280eff6a2c..3f25f0e601084c5bb02bc6baa08f1a3b30f13e38 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 
 echo "##########################################################################"
-echo "ptscotch" $VERSION
+echo "scotch" $VERSION
 echo "##########################################################################"
 
 echo
@@ -20,7 +20,7 @@ echo "*** create Makefile"
 if [ -n "$SAT_HPC" ]; then
     sed -e "s%CFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%CFLAGS\1=\2-fPIC -DPIC -DINTSIZE64 -DSCOTCH_PTHREAD -I${MPI_INCLUDE_DIR} \3%g" Make.inc/Makefile.inc.x86-64_pc_linux2 > Makefile.inc
 else
-    sed -e "s%CFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%CFLAGS\1=\2-fPIC -DPIC -DINTSIZE64 -DSCOTCH_PTHREAD \3%g" Make.inc/Makefile.inc.x86-64_pc_linux2 > Makefile.inc
+    sed -e "s%CFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%CFLAGS\1=\2-fPIC \3%g" Make.inc/Makefile.inc.x86-64_pc_linux2 > Makefile.inc
 fi
 sed -e "s%LDFLAGS\([[:space:]]*\)=\([[:space:]]*\)\(.*\)%LDFLAGS\1=\2 \3 -lpthread%g" Makefile.inc > Makefile.in_new
 mv Makefile.in_new Makefile.inc