fixing filters with math dot h and array by deleting the pow function
This commit is contained in:
parent
2f21899403
commit
77eb58e09a
15
.project
Normal file
15
.project
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<projectDescription>
|
||||||
|
<name>LBPM-WIA-Source@LBPM-WIA</name>
|
||||||
|
<comment></comment>
|
||||||
|
<projects></projects>
|
||||||
|
<buildSpec></buildSpec>
|
||||||
|
<natures></natures>
|
||||||
|
<linkedResources>
|
||||||
|
<link>
|
||||||
|
<name>[Subprojects]</name>
|
||||||
|
<type>2</type>
|
||||||
|
<locationURI>virtual:/virtual</locationURI>
|
||||||
|
</link>
|
||||||
|
</linkedResources>
|
||||||
|
</projectDescription>
|
|
@ -1,5 +1,5 @@
|
||||||
#include "analysis/filters.h"
|
#include "analysis/filters.h"
|
||||||
|
#include "math.h"
|
||||||
#include "ProfilerApp.h"
|
#include "ProfilerApp.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -638,7 +638,7 @@ template <class TYPE>
|
||||||
|
|
||||||
const auto base_data = baseArray.data();
|
const auto base_data = baseArray.data();
|
||||||
for ( size_t i = 0; i < d_length; i++ )
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/********************************************************
|
/********************************************************
|
||||||
|
|
29
sample_scripts/daedalus_config
Executable file
29
sample_scripts/daedalus_config
Executable file
|
@ -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
|
Loading…
Reference in New Issue
Block a user