g95 & HDF5 library: problem with name mangling?

From: Rich Townsend (rhdt_at_barVOIDtol.udel.edu)
Date: 03/10/05


Date: Thu, 10 Mar 2005 15:27:47 -0500

Hi all --

Has anyone had any success getting the Fortran 90 wrapper for the HDF5
library to compile under g95? It seems that g95 has a C name-mangling
convention that is at variance with other compilers I've been successful
with (Intel & Lahey), and this is causing things to die at the link
stage. But I might be missing something...

cheers,

Rich



Relevant Pages

  • Re: building slatec with g95
    ... If you built library with g95, compile the caller with g95 also. ... The machine constants are wrong. ... constants are a union of integers and reals. ...
    (comp.lang.fortran)
  • Re: In my CYGWIN "make" using g77 instead of the g95 FORTRAN I want used
    ... P.S.: Correction: It wasn't identifying an environment variable g95 as ... > this FORTRAN source code I guess that at least some of it involves ... > once I among the environment variables identified the variable g95 as ... Next I wanted to compile the FORTRAN files ...
    (comp.lang.fortran)
  • Re: Arbitary Heat Release (Fuel Induced)
    ... In the event that you do not have access to Salford ftn95 ... Before compile issue: ... Compile with: g95 hydrogen.for -ftrace=full ... -|Running the Hydrogen code under Salford compiler with debug options ...
    (comp.lang.fortran)
  • Compiling LAPACK with ATLAS on cygwin using g95
    ... To make the comparison fairer I would like to employ a well-optimized set of BLAS, i.e., the ATLAS BLAS, when I compile and link with g95. ... is there a way to compile/install the ATLAS BLAS under cygwin in a way that is compatible with g95? ...
    (comp.lang.fortran)
  • Re: cant find libg2c on FC4
    ... Maybe you don't need libg2c at all (e.g., using g95 or gfortran). ... Many older programs have -lg2c in the Makefiles, but will compile with g95 or gfortan with very minor changes. ... can you compile, link, and run a trivial program with g77, g95, gfortran? ...
    (comp.lang.fortran)