charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Phil Miller <mille121 AT illinois.edu>
- To: "Sheppard, Raymond W" <rsheppar AT iu.edu>
- Cc: Charm Mailing List <charm AT cs.illinois.edu>
- Subject: Re: [charm] I do not understand why I need g++
- Date: Tue, 8 Feb 2022 13:41:53 -0800
- Authentication-results: ppops.net; spf=softfail smtp.mailfrom=unmobile AT gmail.com; dkim=fail header.s=20210112 header.d=illinois-edu.20210112.gappssmtp.com; dmarc=fail header.from=illinois.edu
Hi Raymond,
Charm++ does some source code generation as part of the process of compiling both itself and applications. This code generator needs to be compiled to run on the head node where you're doing the build. The primary Cray compiler generates binaries that may not be able to run on the head node, so the build logic has to call a compiler that can safely be relied on to generate code to run on the host system.
Phil
On Tue, Feb 8, 2022, 13:12 Sheppard, Raymond W <rsheppar AT iu.edu> wrote:
Hello,
I am trying to build on our Cray using your new Shasta option.
I start with:
./build charm++ mpi-crayshasta --with-production
But I get the following at the end and I do not understand. I am not using GNU. Our default PrgEnv is "cray." Any idea what I am doing wrong? Thanks.
Ray
=============================
Charm++ 7.0.0 configuration:
OS version: Linux (Linux 5.3.18-22-default, x86_64)
Charm++ version: v70000
Hostname: login1.hsn0.cm.bigred200.uits.iu.edu
Machine layer: mpi-crayshasta
Build target: charm++
Build type: Release
C compiler: /opt/cray/pe/craype/2.7.7/bin/cc [Clang 11.0.0]
C++ compiler: /opt/cray/pe/craype/2.7.7/bin/CC [Clang 11.0.0]
F90 compiler: /opt/cray/pe/craype/2.7.7/bin/ftn [Cray 11.0.4]
CMake: /geode2/soft/hps/sles15/cmake/gnu/3.21.3/bin/cmake [3.21.3]
Charmc flags: -optimize -production
Enabled options: ZLIB
==============================
-- Configuring done
-- Generating done
-- Build files have been written to: /N/soft/sles15/namd/build/2.14/charm-v7.0.0/mpi-crayshasta
[ 0%] Built target create_symlinks
[ 0%] Building CXX object src/xlat-i/CMakeFiles/charmxi.dir/xi-AstNode.C.o
/N/soft/sles15/namd/build/2.14/charm-v7.0.0/mpi-crayshasta/bin/charmc: line 236: g++: command not found
Fatal Error by charmc in directory /N/soft/sles15/namd/build/2.14/charm-v7.0.0/mpi-crayshasta/src/xlat-i
Command g++ -I/N/soft/sles15/namd/build/2.14/charm-v7.0.0/mpi-crayshasta/include -D__CHARMC__=1 -DAMPI_ERRHANDLER_RETURN=0 -I/N/soft/sles15/namd/build/2.14/charm-v7.0.0/src/xlat-i/sdag -I/N/soft/sles15/namd/build/2.14/charm-v7.0.0/src/xlat-i/. -DNDEBUG -c /N/soft/sles15/namd/build/2.14/charm-v7.0.0/src/xlat-i/xi-AstNode.C -o CMakeFiles/charmxi.dir/xi-AstNode.C.o returned error code 127
charmc exiting...
make[2]: *** [src/xlat-i/CMakeFiles/charmxi.dir/build.make:76: src/xlat-i/CMakeFiles/charmxi.dir/xi-AstNode.C.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:824: src/xlat-i/CMakeFiles/charmxi.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
rsheppar@login1:/N/soft/sles15/namd/build/2.14/charm-v7.0.0> module list
Currently Loaded Modules:
1) cce/11.0.4 5) craype-network-ofi 9) cray-libsci/21.05.1.1 13) cmake/3.21.3
2) craype/2.7.7 6) perftools-base/21.05.0 10) PrgEnv-cray/8.0.0
3) craype-x86-rome 7) cray-dsmml/0.1.5 11) cray-pmi/6.0.11
4) libfabric/1.11.0.3.71 8) cray-mpich/8.1.5 12) cray-pmi-lib/6.0.11
- [charm] I do not understand why I need g++, Sheppard, Raymond W, 02/08/2022
- Re: [charm] I do not understand why I need g++, Phil Miller, 02/08/2022
Archive powered by MHonArc 2.6.19.