Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
29284 Discussions

error in the compiler program 32bits/64bits

Sara_Rodrigues
Beginner
607 Views
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.
0 Kudos
3 Replies
Udit_P_Intel
Employee
607 Views
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
0 Kudos
Sara_Rodrigues
Beginner
607 Views
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 !!!
0 Kudos
Steven_L_Intel1
Employee
607 Views
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.
0 Kudos
Reply