Link with gfortran

Makefile.gfortran (1.36 KB)

Makefile.lammps (134 Bytes)

Makefile.lammps (134 Bytes)

Makefile.openmpi (2.66 KB)

From: Annie Marsden <[email protected]...>
Date: July 4, 2013 11:32:06 PM CDT
To: [email protected]...
Subject: Link with gfortran

I thought I did link with gfortran. Here are some makefiles. For
Makefile.gfortran in meam I tried LINK= g++, I tried LINK= g++ gfortran, and
I tried LINK= gfortran. I remade the library for each one and got the same
error when making openmpi (symbols not found error)

this looks correct, but the error message is clearly indicating that
it is missing to link functions that are in libgfortran.
sometimes order matters, so you may try to add -lgfortran to LIB in
Makefile.openmpi

some time ago, macosx machines were pretty straightforward to compile on...
and then the apple software engineers decided to improve things... :frowning:

axel.