diff --git a/.project b/.project new file mode 100644 index 00000000..29a5aefe --- /dev/null +++ b/.project @@ -0,0 +1,15 @@ + + + LBPM-WIA-Source@LBPM-WIA + + + + + + + [Subprojects] + 2 + virtual:/virtual + + + diff --git a/analysis/filters.cpp b/analysis/filters.cpp index 2dee1def..c5858560 100644 --- a/analysis/filters.cpp +++ b/analysis/filters.cpp @@ -1,5 +1,5 @@ #include "analysis/filters.h" - +#include "math.h" #include "ProfilerApp.h" diff --git a/common/Array.hpp b/common/Array.hpp index ca2482df..aa06cc2c 100644 --- a/common/Array.hpp +++ b/common/Array.hpp @@ -638,7 +638,7 @@ template const auto base_data = baseArray.data(); for ( size_t i = 0; i < d_length; i++ ) - d_data[i] = std::pow(base_data[i], exp); + d_data[i] = pow(base_data[i], exp); } /******************************************************** diff --git a/sample_scripts/daedalus_config b/sample_scripts/daedalus_config new file mode 100755 index 00000000..74c0f5e5 --- /dev/null +++ b/sample_scripts/daedalus_config @@ -0,0 +1,29 @@ +# Configure + +rm -rf Cmake* + +cmake \ + -G "Eclipse CDT4 - Unix Makefiles" \ + -D CMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE \ + -D CMAKE_ECLIPSE_MAKE_ARGUMENTS=-j8 \ + -D CMAKE_C_COMPILER:PATH=/home/christopher/openmpi/install_dir/bin/mpicc \ + -D CMAKE_CXX_COMPILER:PATH=/home/christopher/openmpi/install_dir/bin/mpicxx \ + -D USE_MPI=1 \ + -D USE_DOXYGEN=false \ + -D CMAKE_C_FLAGS="-std=gnu++11 -w" \ + -D CMAKE_CXX_FLAGS="-std=gnu++11 -w" \ + -D MPI_COMPILER:BOOL=TRUE \ + -D MPIEXEC=/home/christopher/openmpi/install_dir/bin/mpirun \ + -D USE_EXT_MPI_FOR_SERIAL_TESTS:BOOL=TRUE \ + -D CMAKE_BUILD_TYPE:STRING=Release \ + -D CXX_STD=11 \ + -D CUDA_FLAGS="-arch sm_60 -Xcompiler -fPIC -std=c++11" \ + -D CUDA_HOST_COMPILER="/usr/bin/gcc-4.9" \ + -D USE_CUDA=1 \ + -D USE_TIMER=0 \ + -D USE_VISIT=true \ + -D VISIT_ROOT_DIR=/home/christopher/visit2_12_2.linux-x86_64/bin \ + /home/christopher/repos/LBPM-WIA + +make -j8 install +make visit