Hi Roland, Frank, Ian,
Thanks for all your help, and sorry for taking so long to respond. In the end I decided to wipe everything and start over. It was a good opportunity to clean up my hard drive and upgrade to the latest macOS!
I'm now using Homebrew only. Both the Einstein Toolkit and Lorene compile without hiccups. Roland, I was able to go through all the steps for getting the initial data that you described.
The only issue I'm experiencing is with running my Einstein Toolkit compilations using the mpirun command.
I tried:
mpirun -np 2 <exe file> <parameter file>
and got:
[Gwyneths-MacBook-Air.local:16392] [[60663,0],0] ORTE_ERROR_LOG: Bad parameter in file orted/pmix/pmix_server.c at line 262 [Gwyneths-MacBook-Air.local:16392] [[60663,0],0] ORTE_ERROR_LOG: Bad parameter in file ess_hnp_module.c at line 666 -------------------------------------------------------------------------- It looks like orte_init failed for some reason; your parallel process is likely to abort. There are many reasons that a parallel process can fail during orte_init; some of which are due to configuration or environment problems. This failure appears to be an internal failure; here's some additional information (which may only be relevant to an Open MPI developer):
pmix server init failed --> Returned value Bad parameter (-5) instead of ORTE_SUCCESS --------------------------------------------------------------------------
I installed Open MPI via Homebrew and used osx-homebrew.cfg for my compilation. It has MPI_DIR = /usr/local.
Incidentally: I modified arrangements/Carpet/CarpetLib/src/defs.hh as Ian suggested, and got that bboxset2 is used on my laptop (for this compilation, at least). (I'll reply properly to my other thread about the potential Carpet bug soon -- I'd like to check whether or not the error appears on my laptop for the new compilation.)
Gwyneth
On Tue, Mar 14, 2017 at 3:51 PM, Roland Haas rhaas@illinois.edu wrote:
Hello Gwyneth,
hmm, so you are on a Mac and have macports installed. I don't have such a laptop (I only have homebrew installed) but looking at the file repos/simfactory2/mdb/optionlists/osx-macports.cfg then it does contain LAPACK_DIR and LAPACK_LIBS line. Note that LORENE (for the coal executable) does not use Cactus' option list but its own local_settings file (just untar the tarfile in ExternalLibraries/LORENE/dist manually and compile in there).
So you should be able to use
-Wl,-framework,Accelerate
in LDFLAGS (or similar) in local_settings to get Lorene to work.
Similarly for Cactus if you need LAPACK.
For BLAS and LAPACK: please try and compile like so:
make sim-realclean VERBOSE=yes simfactory/bin/sim build sim 2>&1 | tee make.log
and attach the full output of this (in make.log) as well as ideally the content of configs/sim/config-info and configs/sim/bindings/Configuration/Capabilities/make.{BLAS,L APACK}.{defn,deps}
I've realized that I get the OpenBLAS error regardless of whether or not
I
set OPENBLAS_DIR=BUILD. So I think there's something wrong with my optionlist.
Just to be sure: you have made sure that the new option list is actually being used? You may have to do something like this:
simfactory/bin/sim build --reconfig --optionlist path-to-your-option-list.cfg
Yours, Roland
-- My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from http://pgp.mit.edu .