[CIG-SEISMO] patch for SCOTCH in SPECFEM3D for OS X

Dimitri Komatitsch komatitsch at lma.cnrs-mrs.fr
Thu Aug 29 05:29:17 PDT 2013


Dear Brad,

Thank you for this very useful patch and also for committing it to SVN.

I have also informed the SCOTCH developers about the issue, so that they 
can fix the official SCOTCH distribution.

Thank you,
Regards,

Dimitri.

On 07/12/2013 05:37 PM, Brad Aagaard wrote:
> Attached is a patch to fix the missing clock_gettime issue in
> src/decompose_mesh/scotch_5.1.12b/src/libscotch/common.c for OS X.
>
> I also had to remove -lrt from LDFLAGS in the
> src/decompose_mesh/scotch_5.1.12b/src/Makefile.inc file. It doesn't look
> like you are using configure to test for libraries, etc so it is not
> clear to me how to supply a patch to fix this missing library issue. In
> the long run, the proper approach would be to test for headers and
> libraries in configure and adjust the Makefiles accordingly.
>
> Regards,
> Brad
>
>
> _______________________________________________
> CIG-SEISMO mailing list
> CIG-SEISMO at geodynamics.org
> http://geodynamics.org/cgi-bin/mailman/listinfo/cig-seismo
>

-- 
Dimitri Komatitsch
CNRS Research Director (DR CNRS), Laboratory of Mechanics and Acoustics,
UPR 7051, Marseille, France    http://komatitsch.free.fr


More information about the CIG-SEISMO mailing list