Commit e664b855 authored by COULAUD Olivier's avatar COULAUD Olivier

add openmp tests

parent 3a263271
......@@ -157,7 +157,9 @@ if (MORSE_DISTRIB_DIR OR EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/CMakeModules/morse/
set(SSE_FLAGS "-axSSE4.2 -march=native")
endif(APPLE)
#-Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wall -Wnosign-conversion ")
else()
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "XL")
set(SCALFMM_CXX_FLAGS "${SCALFMM_CXX_FLAGS} -mcpu=power8 -mtune=power8")
else() #if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
# NOT INTEL
if(NOT SCALFMM_USE_MPI)
include(CheckCCompilerFlag)
......
This diff is collapsed.
......@@ -31,16 +31,16 @@ echo $DATE
#
# INTEL
#
module add compiler/gcc/5.1.0 compiler/intel/64/2016_beta
cd $project_dir/BuildIntel2016
COMP=INTEL
export KMP_AFFINITY=scatter
#module add compiler/gcc/5.1.0 compiler/intel/64/2016_beta
#cd $project_dir/BuildIntel2016
#COMP=INTEL
#export KMP_AFFINITY=scatter
#
# GCC
#
#module add compiler/gcc/5.1.0 intel/mkl/64/11.2/2015.3.187
#cd $project_dir/BuildGCC51
#COMP=GCC
module add compiler/gcc/5.1.0 intel/mkl/64/11.2/2015.3.187
cd $project_dir/BuildGCC51
COMP=GCC
#
# For eztrace
#
......@@ -62,7 +62,7 @@ ALGO=(basic balanced task tasknew sectiontask sectiontasknew)
#ALGO=( task )
#
pwd
#export OMP_PROC_BIND=true
export OMP_PROC_BIND=true
NUM=`git rev-list HEAD --count`
echo $DISTRIB
REP=${DATE}-${COMP}-${METH}
......
......@@ -8,22 +8,22 @@
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=24
#
source $HOME/Config/bashrc.bash
#source $HOME/Config/bashrc.bash
project_dir=/projets/scalfmm/scalfmm-tests ;
project_dir=$HOME/Dev/src/ScalFMM/scalfmm ;
#
# PlaFRIM environment
#
module add compiler/gcc/5.1.0 compiler/intel/64/2016_beta; module li
module add compiler/gcc/6.1.0 compiler/intel/64/20176_beta; module li
#
EXEC="Examples/Release/ChebyshevInterpolationFMM"
FILEPERF="RES_Chebyshev-openmp"
#EXEC="Examples/Release/LagrangeInterpolationFMM"
#FILEPERF="RES_Lagrange-openmp"
FILE="unitcube_2M.bfma"
#EXEC="Examples/Release/ChebyshevInterpolationFMM"
#FILEPERF="RES_Chebyshev-openmp"
EXEC="Examples/Release/LagrangeInterpolationFMM"
FILEPERF="RES_Lagrange-openmp"
FILE="/projets/scalfmm/data/tests/unitCube20M.bfma"
#
cd $project_dir/BuildIntel2016
cd $project_dir/BuildIntel
#
#
PER_SIZE=`cat /proc/cpuinfo |grep processor |wc -l`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment