{"action":"created","issue":{"url":"https://api.github.com/repos/mit-crpg/OpenMOC/issues/175","labels_url":"https://api.github.com/repos/mit-crpg/OpenMOC/issues/175/labels{/name}","comments_url":"https://api.github.com/repos/mit-crpg/OpenMOC/issues/175/comments","events_url":"https://api.github.com/repos/mit-crpg/OpenMOC/issues/175/events","html_url":"https://github.com/mit-crpg/OpenMOC/issues/175","id":95704760,"number":175,"title":"BG/Q Build Issues","user":{"login":"jtramm","id":1009059,"avatar_url":"https://avatars.githubusercontent.com/u/1009059?v=3","gravatar_id":"","url":"https://api.github.com/users/jtramm","html_url":"https://github.com/jtramm","followers_url":"https://api.github.com/users/jtramm/followers","following_url":"https://api.github.com/users/jtramm/following{/other_user}","gists_url":"https://api.github.com/users/jtramm/gists{/gist_id}","starred_url":"https://api.github.com/users/jtramm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jtramm/subscriptions","organizations_url":"https://api.github.com/users/jtramm/orgs","repos_url":"https://api.github.com/users/jtramm/repos","events_url":"https://api.github.com/users/jtramm/events{/privacy}","received_events_url":"https://api.github.com/users/jtramm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-07-17T17:33:03Z","updated_at":"2015-07-22T04:03:37Z","closed_at":null,"body":"I'm running into some issues building from the main develop branch on BG/Q. Here's what I'm getting when I try to compile:\r\n\r\njtramm@vestalac2:~/OpenMOC$ python setup.py install --user --cc=bgxlc\r\nrunning install\r\nrunning build\r\nrunning build_py\r\ncopying openmoc/openmoc.py -> build/lib/openmoc\r\nrunning build_ext\r\nbuilding '_openmoc' extension\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c openmoc/openmoc_wrap.cpp -o build/temp.linux-ppc64-2.7/openmoc/openmoc_wrap.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Cell.cpp -o build/temp.linux-ppc64-2.7/src/Cell.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Geometry.cpp -o build/temp.linux-ppc64-2.7/src/Geometry.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/LocalCoords.cpp -o build/temp.linux-ppc64-2.7/src/LocalCoords.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Material.cpp -o build/temp.linux-ppc64-2.7/src/Material.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/log.cpp -o build/temp.linux-ppc64-2.7/src/log.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Point.cpp -o build/temp.linux-ppc64-2.7/src/Point.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/PolarQuad.cpp -o build/temp.linux-ppc64-2.7/src/PolarQuad.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/ExpEvaluator.cpp -o build/temp.linux-ppc64-2.7/src/ExpEvaluator.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Solver.cpp -o build/temp.linux-ppc64-2.7/src/Solver.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/CPUSolver.cpp -o build/temp.linux-ppc64-2.7/src/CPUSolver.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Surface.cpp -o build/temp.linux-ppc64-2.7/src/Surface.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Timer.cpp -o build/temp.linux-ppc64-2.7/src/Timer.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Track.cpp -o build/temp.linux-ppc64-2.7/src/Track.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/TrackGenerator.cpp -o build/temp.linux-ppc64-2.7/src/TrackGenerator.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Universe.cpp -o build/temp.linux-ppc64-2.7/src/Universe.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\nbgxlc++_r -DFP_PRECISION=float -DSINGLE -DBGXLC -DVEC_LENGTH=8 -DVEC_ALIGNMENT=16 -DCCACHE_CC=bgxlc++_r -DOPENMP -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/lib/python2.7/site-packages/numpy/core/include -I/soft/interpreters/python-2.7.9/powerpc64-linux-gnu/include/python2.7 -c src/Cmfd.cpp -o build/temp.linux-ppc64-2.7/src/Cmfd.o -c -O2 -qarch=qp -qreport -qsimd=auto -qtune=qp -qunroll=auto -qsmp=omp -qpic\r\n\"src/pairwise_sum.h\", line 26.13: 1540-1401 (I) An unknown \"pragma simd\" is specified.\r\n\"src/Geometry.cpp\", line 534.3: 1540-0130 (S) \"std::hash\" is not declared.\r\n\"src/Geometry.cpp\", line 598.3: 1540-0130 (S) \"std::hash\" is not declared.\r\n\"src/pairwise_sum.h\", line 26.13: 1540-1401 (I) An unknown \"pragma simd\" is specified.\r\n\"openmoc/../src/pairwise_sum.h\", line 26.13: 1540-1401 (I) An unknown \"pragma simd\" is specified.\r\n\"src/Universe.cpp\", line 903.49: 1540-2955 (I) SUGGESTION: Try using \"-qlanglvl=rightanglebracket\". It looks like you are trying to use the associated C++0x feature.\r\n\"src/Universe.cpp\", line 903.49: 1540-0063 (S) The text \">>\" is unexpected.\r\n\"src/pairwise_sum.h\", line 26.13: 1540-1401 (I) An unknown \"pragma simd\" is specified.\r\n\"src/pairwise_sum.h\", line 26.13: 1540-1401 (I) An unknown \"pragma simd\" is specified.\r\n\"src/Solver.cpp\", line 541: 1586-358 (I) Loop was parallelized.\r\n\"src/Cmfd.cpp\", line 207.27: 1540-2903 (S) A variable length array may not be specified in an OpenMP \"private\" clause.\r\n\"src/TrackGenerator.cpp\", line 227.11: 1540-1102 (W) \"volume\" might be used before it is set.\r\n\"src/TrackGenerator.cpp\", line 227.59: 1540-1102 (W) \"azim_index\" might be used before it is set.\r\n\"src/pairwise_sum.h\", line 26.13: 1540-1401 (I) An unknown \"pragma simd\" is specified.\r\n\"src/ParallelHashMap.h\", line 568.23: 1540-0130 (S) \"std::hash\" is not declared.\r\n\"src/ParallelHashMap.h\", line 556.6: 1540-0700 (I) The previous message was produced while processing \"ParallelHashMap<unsigned long,fsr_data *>::insert(unsigned long, fsr_data *)\".\r\n\"src/TrackGenerator.cpp\", line 1447.17: 1540-0700 (I) The previous message was produced while processing \"TrackGenerator::readTracksFromFile()\".\r\n\"src/CPUSolver.cpp\", line 102: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 180: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 199: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 212: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 235: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 258: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 265: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 299: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 475: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 495: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 515: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 587: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 755: 1586-358 (I) Loop was parallelized.\r\n\"src/CPUSolver.cpp\", line 800: 1586-358 (I) Loop was parallelized.\r\n    1500-030: (I) INFORMATION: log_printf(logLevel, const char *, ...): Additional optimization may be attained by recompiling and specifying MAXMEM option with a value greater than 8192.\r\nerror: command 'bgxlc++_r' failed with exit status 1\r\n\r\n\r\n\r\nThe (S) errors need to be fixed I think.\r\n\r\nAlso, \"pragma simd\" is not supported by the XL compiler. For BG/Q, you need to use  \"pragma vector_level(10)\".\r\n"},"comment":{"url":"https://api.github.com/repos/mit-crpg/OpenMOC/issues/comments/123557991","html_url":"https://github.com/mit-crpg/OpenMOC/issues/175#issuecomment-123557991","issue_url":"https://api.github.com/repos/mit-crpg/OpenMOC/issues/175","id":123557991,"user":{"login":"wbinventor","id":209492,"avatar_url":"https://avatars.githubusercontent.com/u/209492?v=3","gravatar_id":"","url":"https://api.github.com/users/wbinventor","html_url":"https://github.com/wbinventor","followers_url":"https://api.github.com/users/wbinventor/followers","following_url":"https://api.github.com/users/wbinventor/following{/other_user}","gists_url":"https://api.github.com/users/wbinventor/gists{/gist_id}","starred_url":"https://api.github.com/users/wbinventor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbinventor/subscriptions","organizations_url":"https://api.github.com/users/wbinventor/orgs","repos_url":"https://api.github.com/users/wbinventor/repos","events_url":"https://api.github.com/users/wbinventor/events{/privacy}","received_events_url":"https://api.github.com/users/wbinventor/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T04:03:37Z","updated_at":"2015-07-22T04:03:37Z","body":"Has this issue been resolved @jtramm @theshuo @geogunow? If so, perhaps a PR should be opened to update the build system?"}}