yamen wrote:buttari wrote:yamen wrote:Thanks I have resolved this problem in fact my F77 compiler is g77 et my C compiler is gcc. So I disabled the test in the script of framework.py and set it manually to GNU.
But the problem now that I am facing a problem in the communication betwwen fortran and C when testing the libraries generated there is an error continuously "undefined reference to" and the name of functions. I think that there is a problem with underscoring done by fortran. how i can beat this? is it a matter of flags ? plz give me some hints
Obvious...
the framework.py script is there for the framework.py script is there for a ga good reason and should not be disabled...
The F77 and C compilers should be set to mpif77 and mpicc respectively. If you have them in your PATH the installer can detect them automatically, otherwise you can provide them through the --mpicc=[CMD] and --mpif77=[CMD] flags.
Yes I konow that the framework.py if there for a good reason... which is testing and identifying your compilers and since the test wasnt efficient I dont know why ( result unkown) then I write it manually
Yamen,
the script also does other things.
As for the compiler, the script tries to detect which compiler you are using in order to set a few parameters that are essential for some compilers (e.g., the intel compilers). In the case where it says "unkown" it doesn't mean that it's not going to work.
However, if you want us to help you, please do what I asked you to do (either put mpicc and mpif77 in your PATH or provide them through the --mpicc and --mpif77 flags). Then, if you still have an error, please let us now what the error is (you should copy/paste it here). Otherwise, I can't do more than this.
Alfredo