Hello,
Thanks to some excellent help on the issues pages, I have managed to compile upcxx and metahipmer. However, I am still hitting a snag.
I have compiled metahipmer v2.1.0.2 using GCC 8.2.0 and cmake 3.14.0 (no GPU support).
mhm2_test works fine, and I can directly call the mhm2 executable. However, when I run the standard command line mhm2.py which runs mhm2 through the upcxx-run command I get the following error:
~/mhm2-v2.0.1.2/install/bin/mhm2.py -p pair1.fq.gz,pair2.fq.gz --post-asm-abd true INFO: may need to build the required runtime. Please be patient.If I call upcxx-run directly I get the same gmake errors.
I presume I've missed something simple!
All advice welcome!
Thanks,
Andrew
I get a warning about using the "wrong" g++ (which I may be able to ignore, as it's really the same g++) but it fails due to not finding upcxx. I do not understand cmake's find_modules process enough to understand why it might be failing.
--
You received this message because you are subscribed to the Google Groups "UPC++" group.
To unsubscribe from this group and stop receiving emails from it, send an email to upcxx+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/3bb1dec4-340b-4a0f-8fae-0e936f8f4c5cn%40googlegroups.com.
And of note, this (below) is the output from make run-tests (smp, ibv and udp). I confess I have no understanding of our network topology or set up.I had to set SSH_SERVERS environment variable first. Interestingly, it looks like test-hello_upcxx-smp and test-hello_upcxx-ibv passed and test-hello_upcxx-udp failed.
When I call udp manually it passes:upcxx-run -n 2 ./test-hello_upcxx-udpINFO: may need to build the required runtime. Please be patient.Warning: Permanently added the ED25519 host key for IP address '2a0c:5bc0:89:ad4:ec4:7aff:fe3f:a3d5' to the list of known hosts.Hello from 0 of 2Hello from 1 of 2
The test-hello_upcxx-ibv gave a warning:WARNING: Found 2 IB HCAs, but GASNet was configured without multi-rail support. To utilize all your HCAs, you should reconfigure GASNet using '--with-ibv-max-hcas=2'. You can silence this warning by setting the environment variable GASNET_IBV_PORTS as described in the file 'gasnet/ibv-conduit/README'.WARNING: Found 2 IB HCAs, but GASNet was configured without multi-rail support. To utilize all your HCAs, you should reconfigure GASNet using '--with-ibv-max-hcas=2'. You can silence this warning by setting the environment variable GASNET_IBV_PORTS as described in the file 'gasnet/ibv-conduit/README'.WARNING: ODP disabled on 2 of 2 processes which are missing support.To suppress this message set environment variableGASNET_ODP_VERBOSE=0 or reconfigure with --disable-ibv-odp(see ibv-conduit's README for more information).To see additional details set environment variableGASNET_ODP_VERBOSE=2 (or higher).WARNING: Beginning a potentially slow probe of max pinnable memory...WARNING: Probe of max pinnable memory completed in 26.3173s.WARNING: Probe of max pinnable memory has yielded '83 GB'.WARNING: If you have the same memory configuration on all nodes, thenWARNING: to avoid this probe in the future either reconfigure usingWARNING: --with-ibv-physmem-max='83 GB'WARNING: or run with environment variableWARNING: GASNET_PHYSMEM_MAX='83 GB'.WARNING: For more information see "Slow PHYSMEM probe at start-up"WARNING: in ibv-conduit's README.I can look into that later!
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/7ad5a2e4-8c4c-4ac9-bf69-890a315acae1n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/9e463335-84dd-4d41-9eae-02ebcb4dede5n%40googlegroups.com.
Dan and Rob,Thanks so much for the hand-holding! You were right that the g++ warning seemed to be the issue (though the final console output made upcxx look like the culprit). As a true novice, I took the easy way out and renamed g++.sh and the compilation now works (I have guessed that I need to rm -rf CMakeFiles in the source dir each time). I also think I may have put the directory at the wrong bit of the cmake command (beginning rather than end) though I don't think that made a difference.Interestingly, the .build folder from which I ran the cmake command remains empty (perhaps this is expected because I haven't run make yet).However, > make -j all installgives an error:make: *** No rule to make target `all'. Stop.I am running from the .build dir as per the template at https://bitbucket.org/berkeleylab/mhm2/src/d18aa76b1efd4036b87d9a159b142a3ad45adb7d/docs/mhm_guide.md:mkdir -p .buildcd .buildcmake -DCMAKE_INSTALL_PREFIX=path-to-install ..make -j all installOnly my cmake command is:cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CUDA=OFF -DCMAKE_INSTALL_PREFIX=/xxx/mhm2-v2.0.1.2/install -DCMAKE_C_COMPILER=/apps/gcc/8.2.0/bin/gcc -DCMAKE_CXX_COMPILER=/xxx/mhm2-v2.0.1.2/g++ /xxx/mhm2-v2.0.1.2
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/c6d96a24-5dec-4cbf-a343-fefb4cd63902n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/e8625f61-9ce4-414b-87d7-5bc748ccf0b8n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/98341941-0116-4e73-8607-bec94c843833n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/upcxx/e8a66aef-ef09-46d6-b579-00b92ca036efn%40googlegroups.com.