-
Notifications
You must be signed in to change notification settings - Fork 407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kokkos Base Makefile adds AVX to KNC Build #16
Comments
I can't reproduce that at the moment. Can you give more details. |
Here is what I have been doing. (1) git glone .. |
but where is the -DWITH_MPI coming from? thats not Kokkos. cd MINIAERO/build Though I have to admit I didn't try that yet ;-) |
MiniAero. |
I am going through that right now and will fix any issues ;-) |
OK I just pushed a fix which makes it work at least with GCC. KNC build fails because it says the library is not valid. Is ar the wrong thing to put the things together in that case? #Set the path to Kokkos (1) ~/kokkos/generate_makefile.bash --with-openmp --prefix=/home/crtrott/KokkosInstall/SNB-OpenMP --arch=SNB --compiler=g++ --kokkos-path=/home/crtrott/kokkos that worked for non KNC, for KNC we need to fix the linking step of the library itself I guess. |
ar should be fine for Kokkos (assuming you want .a file), if not xiar might be needed from Intel.Si Hammond Scalable Computer Architectures On 5/14/15, 5:22 PM, "Christian Trott" notifications@github.com wrote:
|
I think this was fixed. If you encounter this issue again feel free to reopen/make a new issue. |
Disable HIP code where ROCm is disabled
Test whether half_t is trivially copyable
Replaced wiki links to ProgrammingGuide to point to Kokkos repo
If I run: ../generate_makefile.bash --with-openmp --arch=KNC --compiler=
which iclc
But use Kokkos files later, I get:
mpiicpc -O3 -I../src -DWITH_MPI=1 -mmic -DCELL_FLUX -I./ -I/home/sdhammo/kokkos/kokkos-git/core/src -I/home/sdhammo/kokkos/kokkos-git/containers/src -I/home/sdhammo/kokkos/kokkos-git/algorithms/src --std=c++11 -mavx -fopenmp -c ../src/Cell.C
icpc: command line error: option '-mavx' not supported
CXXFLAGS looks incorrect here, should be -mmic not -mavx.
The text was updated successfully, but these errors were encountered: