changeset 3:b935fa5cc3a6

almost works; only memory allocation issues
author Nina Engelhardt <nengel@mailbox.tu-berlin.de>
date Mon, 29 Oct 2012 17:04:55 +0100
parents a08205576e64
children 085e384ec705
files .hgsubstate __brch__default src/VMS_Implementations/VMS_defs__turn_on_and_off.h src/configure.ac
diffstat 4 files changed, 18 insertions(+), 13 deletions(-) [+]
line diff
     1.1 --- a/.hgsubstate	Tue Sep 25 16:14:13 2012 +0200
     1.2 +++ b/.hgsubstate	Mon Oct 29 17:04:55 2012 +0100
     1.3 @@ -1,9 +1,9 @@
     1.4 -897f711a7157c133b3bbdd2d9bb2e924baa9de8b src/Application
     1.5 +0b056460c67de39a266072cd72e3fa671ca2b08b src/Application
     1.6  3c2345880bbe10f432a12722499be5904211c04c src/C_Libraries/DynArray
     1.7 -f0f5da84c4c407e4c120848991092b7a423e4f01 src/C_Libraries/Hash_impl
     1.8 -75df4e468930b6cd50e8db2bb46bda5a4c7dbf35 src/C_Libraries/Histogram
     1.9 -abf2117d753533e6787b0487e0f10f43de27f514 src/C_Libraries/ListOfArrays
    1.10 -253da493308e4bbf85c6a1b8ef9599734a67841a src/C_Libraries/ParamHelper
    1.11 +f82bd67d93fa77d9437cfc062256c4b737f706e7 src/C_Libraries/Hash_impl
    1.12 +2aa025da7c600ddfbce66cc95c2b68a3b6414469 src/C_Libraries/Histogram
    1.13 +7128ffdcc797253a22804be704f5545f9f62c82d src/C_Libraries/ListOfArrays
    1.14 +93b017e30c7631b1399a711ec15c05d85df7c7a6 src/C_Libraries/ParamHelper
    1.15  cb29e773f76f110e2e9293edda438106d469b165 src/C_Libraries/Queue_impl
    1.16 -f5b110414453df7511ef9f0bd240b95ba3cd9233 src/VMS_Implementations/VMS_impl
    1.17 -a7ca8f45c1c4b551f8966e81982d48fc5b2ac08e src/VMS_Implementations/VSs_impl
    1.18 +094ad1bdeaec70efbe90750df3979cc3d7abb2e0 src/VMS_Implementations/VMS_impl
    1.19 +feea343d202fbde09d3b43ff0616b372b5be729b src/VMS_Implementations/VSs_impl
     2.1 --- a/__brch__default	Tue Sep 25 16:14:13 2012 +0200
     2.2 +++ b/__brch__default	Mon Oct 29 17:04:55 2012 +0100
     2.3 @@ -12,7 +12,7 @@
     2.4  cd ../
     2.5  mkdir -p build-ss
     2.6  cd build-ss/
     2.7 -../src/configure --enable-ssse3 LIBS="-lnanox-ss -lnanox-omp -lrt"
     2.8 +../src/configure --enable-ssse3 LIBS="-lm -lpthread -lrt" CFLAGS="-g -O0"
     2.9  make
    2.10  
    2.11  then you can use it with
     3.1 --- a/src/VMS_Implementations/VMS_defs__turn_on_and_off.h	Tue Sep 25 16:14:13 2012 +0200
     3.2 +++ b/src/VMS_Implementations/VMS_defs__turn_on_and_off.h	Mon Oct 29 17:04:55 2012 +0100
     3.3 @@ -8,7 +8,9 @@
     3.4  
     3.5  #ifndef _VMS_DEFS_TURN_ON_AND_OFF_H
     3.6  #define _VMS_DEFS_TURN_ON_AND_OFF_H
     3.7 +#ifndef _GNU_SOURCE
     3.8  #define _GNU_SOURCE
     3.9 +#endif
    3.10  
    3.11  //======================  Turn Debug things on and off  =====================
    3.12  /*When DEBUG__TURN_ON_SEQUENTIAL_MODE is defined, VMS does sequential exe in the main thread
    3.13 @@ -21,7 +23,7 @@
    3.14  /*turns on the probe-instrumentation in the application -- when not
    3.15   * defined, the calls to the probe functions turn into comments
    3.16   */
    3.17 -#define DEBUG__TURN_ON_DEBUG_PRINT
    3.18 +//#define DEBUG__TURN_ON_DEBUG_PRINT
    3.19  
    3.20  /*These defines turn types of bug messages on and off
    3.21   */
    3.22 @@ -61,8 +63,8 @@
    3.23     /*turn on/off subtraction of create measurements from plugin meas*/
    3.24  //#define MEAS__TURN_ON_EXCLUDE_CREATION_TIME 
    3.25  
    3.26 -#define HOLISTIC__TURN_ON_PERF_COUNTERS
    3.27 -#define HOLISTIC__TURN_ON_OBSERVE_UCC
    3.28 +//#define HOLISTIC__TURN_ON_PERF_COUNTERS
    3.29 +//#define HOLISTIC__TURN_ON_OBSERVE_UCC
    3.30  //#define DETECT_LOOP_GRAPH
    3.31  
    3.32  //===================  Turn on or off system options  =======================
     4.1 --- a/src/configure.ac	Tue Sep 25 16:14:13 2012 +0200
     4.2 +++ b/src/configure.ac	Mon Oct 29 17:04:55 2012 +0100
     4.3 @@ -13,9 +13,10 @@
     4.4  AC_GNU_SOURCE
     4.5  AC_PROG_CC
     4.6  AM_PROG_AS
     4.7 -AM_CONDITIONAL([HAVE_OMPSS], [test $CC = "sscc"])
     4.8 +AC_ARG_ENABLE([vss], AS_HELP_STRING([--enable-vss], [Enable VSs support]))
     4.9 +AM_CONDITIONAL([HAVE_OMPSS], [test $enable_vss = "yes"])
    4.10  AC_DEFINE([OMPSS], [0], [Define to 1 on when using the OmpSs compiler sscc])
    4.11 -if test $CC = "sscc";then
    4.12 +if test $enable_vss = "yes";then
    4.13  AC_DEFINE([OMPSS], [1], [Define to 1 on when using the OmpSs compiler sscc])
    4.14  fi
    4.15  
    4.16 @@ -160,6 +161,8 @@
    4.17  	ARCH_SUBDIR=arm
    4.18  fi
    4.19  
    4.20 +
    4.21 +
    4.22  AM_CONDITIONAL([HAVE_ARCH_SUBDIR], [test "$ARCH_SUBDIR" != ""])
    4.23  AC_SUBST([ARCH_SUBDIR])
    4.24