Comments (3)
It might be a slight typo
gfortran test_array.f90 -I include/ -L lib/ -llibh5fortran.a
from h5fortran.
That did not work. But I am little bit confuse from your comment as I knew, to give filename to the linker utility you have to pass the file name as -l:filename
where as to link library you have to pass -lnamespec
. So, either -l:libh5fortran.a
or -lh5fortran
would be a valid optioin. Manual page of GNU Linker https://linux.die.net/man/1/ld
-l namespec
--library=namespec
Add the archive or object file specified by namespec to the list of files to link. This option may be used
any number of times. If namespec is of the form :filename, ld will search the library path for a file called
filename, otherwise it will search the library path for a file called libnamespec.a.
from h5fortran.
Here's how it worked for me:
gfortran -Iinclude test_array.f90 lib/libh5fortran.a
from h5fortran.
Related Issues (20)
- Documentation: Provide an example of building and linking a user app HOT 4
- Make Community/Contributing guidelines prominent HOT 2
- Documentation: statement of need and target audience HOT 2
- Paper draft: "References" section title seems missing HOT 2
- ENH: iterate over datasets
- Build instructions with CMake not working HOT 3
- Running CTest attempts to open MATLAB HOT 2
- Tests 13 and 14 segfault on gcc-9.3.0, hdf5-1.10.6 on Ubuntu 18.10 HOT 1
- CMake error related to URL_HASH HOT 2
- Problem reading string scalar value from hierarchy dataset HOT 10
- Building h5fortran with fpm HOT 9
- Can h5fortran read UTF-8 string attributes? HOT 6
- GCC 8.3.0 bug (GCC 8.5.0 and others work)
- gemini3d compatibility issues HOT 2
- How do I read string array? HOT 6
- [Bug]: lhdf5_hl_fortran/lhdf5hl_fortran flag inconsistency with packages that depend on h5fortran but use higher version of HDF5 HOT 2
- [Bug]: build failure on PPC: Fatal Error: Cannot find an intrinsic module named 'ieee_arithmetic' HOT 6
- [Bug]: PowerPC: test 5 - cast (Failed), few tests get disabled HOT 6
- [Bug]: Builds but fails many (not all) tests HOT 4
- [Bug]: configure fails on Sonoma: `HDF5 C types failed check` HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h5fortran.