Jeff Hammond

Results 414 comments of Jeff Hammond

This is the desired result: ```sh jrhammon-mac01:build-cmake jrhammon$ rm -rf * jrhammon-mac01:build-cmake jrhammon$ cmake .. -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx -- The C compiler identification is Intel 18.0.0.20170320 -- The CXX compiler identification...

This is why I hate CMake. The behavior you describe is not what I want and doesn't work. CMake doesn't even verify that the MPI stuff it finds actually works,...

I am subscribed to Fortran Discourse and will submit this for discussion there and on J3 GitHub once it is ready. I am still working on it and want to...

https://www.epcc.ed.ac.uk/whats-happening/articles/asimov-ccs-uk-national-gpu-hackathon is the only group that has used this in a serious code, and I don't know if they used CMake. I have no idea how one would do this...

Yeah, you make a good point and unfortunately I don't have the answers. I'm not sure whether I'll bet who will solve this first: CMake supporting multiple compilers, or one...

Yeah, that works, except for the part where it perturbs `/usr/local/lib/python2.7/site-packages`. I am obsessive about installation isolation, regardless of how antithetical this is to the Python Way.

This may be relevant: ``` sh TTC-github jrhammon$ icpc -v icpc version 16.0.2 (gcc version 4.9.0 compatibility) ```

You might need to use C's `_Complex` instead of the macro `complex`, since that confuses C++. [Source](http://stackoverflow.com/a/10540302/2189128)

Change does not help. It happens with both Intel and Clang though, so it could be a Mac-specific issue. ``` sh ttc jrhammon$ clang++ -c tmp/util.cpp -o tmp/util.o tmp/util.cpp:7:33: error:...

I posted a question on StackOverflow: http://stackoverflow.com/questions/36747506/identifier-creal-is-undefined-seen-on-mac-but-not-on-linux