]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
A patch by Paul RASCLE for ASTER cluster (64 bits). V3_2_6pre2 V3_2_6pre3
authorjfa <jfa@opencascade.com>
Thu, 15 Mar 2007 06:58:28 +0000 (06:58 +0000)
committerjfa <jfa@opencascade.com>
Thu, 15 Mar 2007 06:58:28 +0000 (06:58 +0000)
bin/runSalome.py
bin/virtual_salome.py
idl/Makefile.am
src/Container/Makefile.am
src/HDFPersist/HDFdatasetWrite.c
src/HDFPersist/Makefile.am
src/HDFPersist/test1.c
src/KERNEL_PY/salome_shared_modules.py
src/NOTIFICATION_SWIG/Makefile.am

index 16dbf097d9211d0054162e34bb5df161169a8c49..ddc09fb7ff4b26a90f97eb48f773c66479915908 100755 (executable)
@@ -62,7 +62,10 @@ def get_lib_dir():
     if __lib__dir__: return __lib__dir__
     import platform
     if platform.architecture()[0] == "64bit":
-        __lib__dir__ = "lib64"
+        if platform.machine() == "ia64":
+            __lib__dir__ = "lib"
+        else:
+            __lib__dir__ = "lib64"
     else:
         __lib__dir__ = "lib"
     return get_lib_dir()
index f77e6bfc30756912b23a866beec304d4410dcaba..44cb0b8a256ee46c87828547c50a817e6583b43a 100644 (file)
@@ -81,7 +81,10 @@ def get_lib_dir():
     if __lib__dir__: return __lib__dir__
     import platform
     if platform.architecture()[0] == "64bit":
-        __lib__dir__ = "lib64"
+        if platform.machine() == "ia64":
+            __lib__dir__ = "lib"
+        else:
+            __lib__dir__ = "lib64"
     else:
         __lib__dir__ = "lib"
     return get_lib_dir()
index a09c9c622b92281f7fe26987515c8b9040e137ca..9ec9d7fd48ea3c468492c2d4a3573cdc53f4b992 100644 (file)
@@ -26,6 +26,8 @@
 
 include $(top_srcdir)/salome_adm/unix/make_common_starter.am
 
+AM_CXXFLAGS = -fPIC
+
 BASEIDL_FILES = \
   SALOME_Exception.idl \
   SALOME_Comm.idl \
index 1241d4a4fa895bf7e322e632519b6dcc60f0ad74..4d36295318ae6a30a783031b1c0d4a43bb5462d6 100644 (file)
@@ -85,10 +85,11 @@ COMMON_LIBS =\
        ../SALOMELocalTrace/libSALOMELocalTrace.la \
        ../Basics/libSALOMEBasics.la \
        $(top_builddir)/idl/libSalomeIDLKernel.la\
-       @PYTHON_LIBS@ \
        @MPI_LIBS@ \
        @CORBA_LIBS@
 
+#      @PYTHON_LIBS@
+
 #
 # ===============================================================
 # Libraries targets
@@ -111,6 +112,7 @@ libSalomeContainer_la_LDFLAGS  =\
        @LDEXPDYNFLAGS@
 
 libSalomeContainer_la_LIBADD =\
+       $(PYTHON_LIBS) \
        $(COMMON_LIBS)
 
 
index 3dea8c5f5c20d9109343b3d4a54e78307d1747ce..625b316cb4113bd4844b6792a5cb9784780a3627 100644 (file)
@@ -23,6 +23,7 @@ SALOME HDFPersist : implementation of HDF persitent ( save/ restore )
 ----------------------------------------------------------------------------*/
 
 #include "hdfi.h"
+#include <stdlib.h>
 
 /*
  * - Name : _MEDdatasetWrite
@@ -55,7 +56,7 @@ hdf_err HDFdatasetWrite(hdf_idt id, void *val)
     if(ndim < 0) return -1;
     
     hdf_size *dim = (hdf_size *) malloc(sizeof(hdf_size)*ndim);
-    if ((ret == HDFdatasetGetDim(id, dim)) < 0)  return -1;
+    if ((ret = HDFdatasetGetDim(id, dim)) < 0)  return -1;
        
     for(i=0; i<ndim; i++) size+=dim[i];    
     free(dim);
index b65ea9ac53fbd31ca614ea12ae88d46dfe1f5b11..92cb42c972d2ffd666c477970ff740f7af029438 100644 (file)
@@ -104,3 +104,16 @@ EXTRA_DIST = \
   test7.cxx \
   test8.cxx \
   test9.cxx
+
+#bin_PROGRAMS=HDFtest1 HDFtest2 HDFtest3
+#HDFtest1_SOURCES = test1.c
+#HDFtest2_SOURCES = test2.c
+#HDFtest3_SOURCES = test3.cxx
+
+#AM_CFLAGS= @CAS_CPPFLAGS@ @HDF5_INCLUDES@ -DPCLINUX \
+#                                  -I$(srcdir)/../SALOMELocalTrace \
+#                                  -I$(srcdir)/../Basics
+#AM_CXXFLAGS= @CAS_CPPFLAGS@ @HDF5_INCLUDES@ -DPCLINUX \
+#                                  -I$(srcdir)/../SALOMELocalTrace \
+#                                  -I$(srcdir)/../Basics
+#AM_LDFLAGS= @HDF5_LIBS@
index 26e77a915869bfb834db86142400e56138b0cc03..c91ad895cb3260e90cd70b6d22e001f3bb53d4e8 100644 (file)
@@ -25,6 +25,9 @@ SALOME HDFPersist : implementation of HDF persitent ( save/ restore )
 #include"hdfi.h"
 #include<stdlib.h>
 
+#define MESSAGE(msg) printf(msg);
+//__FILE__,":[",__LINE__,"]: ",
+
 int main() {
   hdf_idt fid,gid,did,atid;
   hdf_err ret;
index 2222a4d9e8d4191f57a418199c397b94d7eabfbc..a4aff8eda1fdd6fac553b7269c0e63c7024dd087 100755 (executable)
@@ -77,7 +77,10 @@ list_modules=[]
 path=salome_path.split(":")
 import platform
 if platform.architecture()[0] == "64bit":
-    libdir = "lib64"
+    if platform.machine() == "ia64":
+        libdir = "lib"
+    else:
+        libdir = "lib64"
 else:
     libdir = "lib"
 for rep in path:
index beb83ffe4742c3c088a66ee3fe5199b31a29bdff..683429da385a839dae2b29bd949254d600479ef9 100644 (file)
@@ -53,8 +53,9 @@ _libNOTIFICATION_la_CPPFLAGS =\
 
 
 _libNOTIFICATION_la_LDFLAGS  = -module
-_libNOTIFICATION_la_LIBADD   = ../Notification/libSalomeNotification.la \
-       @PYTHON_LIBS@
+_libNOTIFICATION_la_LIBADD   = ../Notification/libSalomeNotification.la
+
+#      @PYTHON_LIBS@
 
 swig_wrap.cpp : $(SWIG_SOURCES)
        $(SWIG) $(SWIG_FLAGS) -o $@ $<