- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Good afternoon,
Working with a program written in fortran.
Details on the compilation
Once compiled, the program generates an executable that will be used to run data.
When I run the executable with input generated by compiling in 32 bit machine, the output is correct. But when I run the same input with the executable generated by compiling 64-bit machine, the answer is not equal. For 64-bit output data which are all numerically anulo. What could be.
Working with a program written in fortran.
Details on the compilation
Once compiled, the program generates an executable that will be used to run data.
When I run the executable with input generated by compiling in 32 bit machine, the output is correct. But when I run the same input with the executable generated by compiling 64-bit machine, the answer is not equal. For 64-bit output data which are all numerically anulo. What could be.
Link kopiert
3 Antworten
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
You might try experimenting with compiler flags -real-size 32 /64/128 and -integer-size 32 /64/128 . This will force the compiler to change the default integer or real sizes.
Otherwise, if you attached a small example, then we could analyse the problem in more detail.
Best!
-Udit
Otherwise, if you attached a small example, then we could analyse the problem in more detail.
Best!
-Udit
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
I'm sending the makefile, the subroutine that is in trouble and the main file.
Start by studying the makefile, and then finally the main subroutine.
The problem is in the subroutine spdir.f90
Any questions please contact us, thanks !!!
Start by studying the makefile, and then finally the main subroutine.
The problem is in the subroutine spdir.f90
Any questions please contact us, thanks !!!
- Als neu kennzeichnen
- Lesezeichen
- Abonnieren
- Stummschalten
- RSS-Feed abonnieren
- Kennzeichnen
- Anstößigen Inhalt melden
Sara, I don't see that you have attached the files here. Please make sure you follow the instructions in the link below and click the option to attach the file.
Antworten
Themen-Optionen
- RSS-Feed abonnieren
- Thema als neu kennzeichnen
- Thema als gelesen kennzeichnen
- Diesen Thema für aktuellen Benutzer floaten
- Lesezeichen
- Abonnieren
- Drucker-Anzeigeseite