Skip to Content.
Sympa Menu

charm - [charm] Question about Charm++ Compilation Using UCX + OpenMPI with PMIx

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

[charm] Question about Charm++ Compilation Using UCX + OpenMPI with PMIx


Chronological Thread 
  • From: #LI MENGYANG# <LIME0040 AT e.ntu.edu.sg>
  • To: "charm AT cs.illinois.edu" <charm AT cs.illinois.edu>
  • Subject: [charm] Question about Charm++ Compilation Using UCX + OpenMPI with PMIx
  • Date: Fri, 2 Oct 2020 08:46:24 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=e.ntu.edu.sg; dmarc=pass action=none header.from=e.ntu.edu.sg; dkim=pass header.d=e.ntu.edu.sg; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=EhFQ6oMoAdNrSyvPpLv4Wd1A8onUz0hpUOLTnqUs/go=; b=CGDgF0Abwb021zDVAox5g0KinRnCyM2OXzhZAhmDBCeM+Y45ERGwiXlDOz0Hn+nWxGEedYBtMDYt6Lm/WgJcCnNK+LnHWtgDVdKvibRlUbd34wMiYhLUre+lTNmdDNGOZtulF0BLsaNcy9cAOUIaf5MEdsADgkSI9kHUv23YgF3rtcP5q2OjFfO36BAfNk3tGlZLDwn3qXkJlp/3XR1uuX8UPzykAipD1ZTukgWwJp9Tehz1yPoVnihokhvchQUSJhUUWg/lts/TgGBfTdfUAE+3JSgtuTJSHizme1zv6Ro8afZ27fvVEq6L1sCPpYBwE1Yy8kSVIoVRx9dFfCsKFg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ASCS660nL0tEqF76pPsXKlOxHWxfY8Y0ZrhlDVOJ5rwYB0UnEEtiWGU4lLwjSfjDZggnvmoKSVHOZibhizZN0epXhtWtFpLGGFoJpmIH7xMLcbVLjNyevJEy8NFvqWA9J+QgGC3lVu41yNh+J0r/mk3p+9honoT2KNYLZZHDUHbWo9vKKWuisW/QiyKRkFZpSnxVlMpJprGNB/ZwYLqcooD2HQ4kC3DzYuju56UMx2AE3DSdAzqyLOFoSFOKyfvMxQi91Wo9ecAhWhWy/BH0lmqPv4Vj0QymqB9MK0PjKMYVFwG/WyuWqUdoz6gEu4pyZSLese1Adq8DmfX6akHv9w==
  • Authentication-results: illinois.edu; spf=fail smtp.mailfrom=LIME0040 AT e.ntu.edu.sg; dkim=pass header.d=entuedu.onmicrosoft.com header.s=selector2-entuedu-onmicrosoft-com; dmarc=none
  • Authentication-results: cs.illinois.edu; dkim=none (message not signed) header.d=none;cs.illinois.edu; dmarc=none action=none header.from=e.ntu.edu.sg;

Dear Sir/Madam,

I am a student at Nanyang Technological University, and I am using Charm++ for the APAC-HPCAI competition. I currently encountered a problem during the compilation for charm++. It will be sincerely appreciated if you could help me about this compilation issue. 

I followed the link here (https://charm.readthedocs.io/en/latest/charm++/manual.html#ucx)
  1. Build UCX

$ wget https://github.com/openucx/ucx/releases/download/v1.9.0/ucx-1.9.0.tar.gz

$ tar -xvf ucx-1.9.0.tar.gz 

$ cd ucx-1.9.0

$ ./contrib/configure-release --prefix=~/ucx-1.9.0/build

$ make -j24

$ make install all


      2. Build OpenMPI

$ wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.5.tar.gz

$ tar -xvf openmpi-4.0.5.tar.gz

$ cd openmpi-4.0.5

$ ./configure --enable-install-libpmix --prefix=~/openmpi-4.0.5/build

$ make -j24

$ make install all


      3. Build Charm++

$ git clone https://github.com/UIUC-PPL/charm charm-6.10.2

$ cd charm-6.10.2 && git checkout charm-6.10.2

$ ./build charm++ ucx-linux-x86_64 ompipmix --with-production --basedir=~/ucx-1.9.0/build --basedir=~/openmpi-4.0.5/build


         While I was building Charm++, I encountered the problem below that prevents the build process to succeed

../bin/charmc  -optimize -production    -o ../lib/libconv-core.a convcore.o hrctimer.o conv-conds.o conv-taskQ.o queueing.o msgmgr.o cpm.o cpthreads.o futures.o cldb.o random.o debug-conv.o debug-conv++.o conv-ccs.o ccs-builtins.o middle-ccs.o traceCore.o traceCoreCommon.o converseProjections.o machineProjections.o quiescence.o isomalloc.o mem-arena.o memory-darwin-clang.o global-nop.o cmipool.o cpuaffinity.o cputopology.o cmitls.o memoryaffinity.o commitid.o conv-interoperate.o conv-rdma.o conv-rdmadevice.o

ar: creating ../lib/libconv-core.a

../bin/charmc  -optimize -production   -I.   -c -o conv-static.o conv-static.c

cp -f conv-static.o ../lib/conv-static.o

gmake: *** No rule to make target `machine.d', needed by `machine.o'.  Stop.

I used GCC/5.1.0 as the compiler, and I am not very sure where does the machine.d file comes from.

Looking forward to hearing from you soon!

Sincerely,
Li Mengyang





Archive powered by MHonArc 2.6.19.

Top of Page