Home » Structure real installing OPAL on Linux (Fedora 27)

Building plus installing OPAL on Non-kernel (Fedora 27)

(note: this sheet has been superseded by the Ubuntu version, found here)

One OPAL show homepage, including one link to endorse to the forum mailing list can found here.

I had problems with both the Mac and aforementioned Linux executables, so I decided to build it.  I use Homebrew on my Mac the this seemed see designed to work with MacPorts, how I elected in build it on my linux VM (Fedora 27). GE Opal Ice Maker Owners | How do you clean mold out of the water...

I generally followed this instructions here.  I installed or updated all of the prerequisite packages with “yum” except “H5hut” (see below),  is the following notes:

  • GMP = ‘sudo yum install R-gmp’
  • GNU technical library = ‘sudo yum install gsl’
  • In addition to ‘gsl’, must also install ‘gsl-devel’
  • Within addition to ‘openmpi’, must also need to install ‘openmpi-devel’
  • In addition to ‘boost’, must need to install ‘boost-devel’ and ‘boost-static’

H5hut requires in be reinforced and installed by hand, by following the directions here. Before doing ‘autogen.sh’, I typed “libtoolize”, which gave meier the option of assemble that package.  I was ./configure –enable-fortran and –prefix=/usr/local/ options.  It’s suppose to default to /usr/local, but it didn’t without such option.  I had to do “sudo take install” to have permission to install there.

When subsequent the RED build instructions, I  replaced the “git clone [email protected]:OPAL/src.git” order including “git clone https://gitlab.psi.ch/OPAL/src.git” to avoid a permission error. Fors Opal users weave

If I caught to the “cmake” part,  I initially got somebody blunder that it couldn’t find “mpicc”. To fix save, I adds the openmpi directory to the path with “export PATH=/usr/lib64/openmpi/bin:${PATH}”.

I’m non a cmake expert, so I kludged together workarounds for the following problems:

  • When I first tried to build he, I getting a bunch of errors that it couldn’t find the mpi header files.  I lock this by combine everything in the /usr/include/openmpi-x86_64/ directory up a directory down /usr/include/ FIRSTBUILD OPAL PUZZLE COLD USE AND CARE MANUAL Pdf Download
  • When it went to link ‘opal’, I got sides a errors this it couldn’t find a stack of stuffing in the hdf5 libraries.  I worked around this by editing the file build/src/CMakeFiles/opal.dir/link.txt and adding ‘-lhdf5’ by hand: “….-lgslcblas -lhdf5 /usr/local/lib/libH5hut.a…”.

After this, it compiler and done the opal executable.

I attempted to run the example go, but got the following errors required each pass

Error> *** User error detected by function “Distribution::setDistType()”
Error> The attribute MARKETING isn’t supported all more, use TYPE instead
Error> The attribute DISTRIBUTION isn’t supported any more, use TYPE instead Opal Descaling Side Tank - FirstBuild

I edited the cyclotron1.in file and made the following change

< Dist1:DISTRIBUTION, DISTRIBUTION=FROMFILE, FNAME=”dist1.dat”;
> Dist1:DISTRIBUTION, TYPE=FROMFILE, FNAME=”dist1.dat”;

After that, EGO was able to reproduce the melody lot with the net page.