Comments (5)
Do you mean that in FindBuildF2pyModule.cmake line 38
... --f90exec=${CMAKE_Fortran_COMPILER} ...
CMAKE_Fortran_COMPILER is wrong ?
So cmake does not detect correctly the fortran compiler on your machine ??
What if we put gnu95 as a standard and people want to compile with ifort ?
from triqs_0.x.
The CMAKE_Fortran_COMPILER is correct in the module, the problem is that one should not use the --f90exec flag with specifying just the F90 executable. That leads to wrong linking in many cases.
The --fcompiler is the better flag, but you do not give the executable, but the 'vendor'. The two flags behave differently. The point is, if you put just --f90exec=ifort, then the .so is compiled with ifort, linked to some gfortran libraries.
One could introduce a variable, like CMAKE_F2PY_vendor, that specifies the vendor and is set to gnu95 by default. If wanted, can be changed by hand. Detection of the possible values of -fcompiler can be done by
f2py -c --help-fcompiler
from triqs_0.x.
@aichhorn: is there a way to reproduce this issue? I would like to avoid the vendor flag. Are you sure the fact that there are links to libgfortran is not a consequence of linking to lapack?
from triqs_0.x.
Right now, I cannot reproduce this issue myself either. I tried all possible combinations of gfortran and ifort, with lapack and without, and everything worked out fine. This seems to be a well hidden problem in the f2py linking procedure that I don't understand.
(I tried it for the modules vertex.so and hubbard_I.so) We could close this issue, if nobody else is having this problem.
from triqs_0.x.
OK, let's close the issue for now and if ever the problem appears again we can still reopen it...
from triqs_0.x.
Related Issues (20)
- running dmftproj with wien2k HOT 1
- compilation problem on Fedora 17 HOT 30
- Modify acceptance probabilities for impurity solver HOT 1
- problem with run dmftproj HOT 1
- 1) LDA+DMFT in parallel 2) "run_lapw -qdmft" or "runsp_lapw -qdmft?" HOT 7
- error HOT 6
- understanding dmftproj ctqmc.out file HOT 2
- error2 HOT 1
- error during read of case.qdmftup :: x lapw2 -up -qdmft -c -so :: runsp_lapw -qdmft HOT 2
- error in running dmftproj HOT 2
- Problem with analytical continuation of data using pade and How to get statistical errors for G and Sigma. HOT 1
- convergence problem :: Hubbard-I HOT 2
- [error] Linking Fortran executable dmftproj
- TRIQS and Wien2k installation does not commute. HOT 2
- Implementation of add_dmft_intr and changes to fourir.F HOT 2
- Python liking problem in UBUNTU-13.04 HOT 1
- error in LDA+DMFT calculation
- Lattice Tools:Introductory example-----not compiling. HOT 2
- DMFT paramagnetic self consistency HOT 1
- Error bars for measured quantities HOT 1
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 triqs_0.x.