Thank you for
the detailed and kind response. While I explore some of your pointers,
below is the output you requested.I want to emphasize that I have
compiled llvm, clang-upc, the translator, and bupc manually and
installed them in a location in my HOME folder. So there may be
something I am doing wrong as well (I am in particular suspicious of my
environment variables). I also want to emphasize that, since I have sent
that email, I rebuilt the upcc command with different settings and
compilers and the output below is not using the same installation as I
used for the original post. The error message is exactly the same,
though. Since my original message (as you can see below) I started using
spack to see if I could setup the required packages before compiling
HipMer, but I get the same error.
This is upcc (the Berkeley Unified Parallel C compiler), v. 2.28.0
----------------------+---------------------------------------------------------
UPC Runtime | v. 2.28.0, built on Apr 5 2019 at 10:08:46
----------------------+---------------------------------------------------------
UPC-to-C translator | 3.9.1-0 20170320, built on Apr 4 2019 at 21:48:32
----------------------+---------------------------------------------------------
Translator location | /home/redacteddir/usr/bin/clang-upc2c
----------------------+---------------------------------------------------------
networks supported | smp ofi udp mpi
----------------------+---------------------------------------------------------
default network | smp
----------------------+---------------------------------------------------------
pthreads support | available (if used, default is 2 pthreads per process)
----------------------+---------------------------------------------------------
Configured with | '--with-clang-upc2c=/home/redacteddir/usr/bin
| /clang-upc2c'
| '--with-multiconf-file=
multiconf_cupc2c.conf.in'
| '--enable-ofi' '--disable-psm' '--disable-ibv'
| '--enable-pthreads' '--enable-udp' '--enable-smp'
| '--with-default-network=smp' '--enable-pshm'
| '--disable-aligned-segments'
| '--prefix=/home/redacteddir/usr/opt_cupc2c'
| '--with-multiconf-magic=opt_cupc2c'
----------------------+---------------------------------------------------------
Configure features | trans_cupc2c,driver_upcc,runtime_upcr,gasnet,
| upc_collective,upc_io,upc_memcpy_async,upc_memcpy_vis,
| upc_ptradd,upc_thread_distance,upc_tick,upc_sem,
| upc_dump_shared,upc_trace_printf,upc_trace_mask,
| upc_local_to_shared,upc_all_free,pupc,upc_types,
| upc_castable,upc_nb,nodebug,notrace,nostats,
| nodebugmalloc,nogasp,nothrille,segment_fast,os_linux,
| cpu_x86_64,cpu_64,cc_gnu,packedsptr,upc_io_64
----------------------+---------------------------------------------------------