0

Compiling T2Well-ECO2N Using Visual Studio 2022

Hello everyone, 

I currently have the source code for T2Well-ECO2N, and I had previously succeeded in compiling it using Visual Studio 2017. However, since I can no longer install VS 2017, I have attempted to compile the code using Visual Studio 2022 instead.

Unfortunately, the compilation was not successful in VS 2022. I also tried using gfortran, but the build failed as well.

If anyone has experience compiling T2Well-ECO2N with VS 2022—or knows the proper console property settings within Visual Studio, or how to correctly compile the source with gfortran—I would sincerely appreciate your guidance.

Thank you very much for taking the time to read this.

Warm regards,
Woojong Yang

1 reply

null
    • kenny
    • 5 days ago
    • Reported - view

    You need first to add Intel fortran compiler  to VS2022. I would suggest you get a free version of intel fortran through installation of INTEL "oneAPI".  You may do the compilation in following steps:

    (1) Setup up an empty FORTRAN project (do not use the VS17 .sln file).

    (2) Add source codes including file "T2" to the project.

    (3) using the property window to have default "REAL" data to "8bytes". (do not forget to set it for both DEBUG and RELEASE mode" 

    (4) then build the codes. 

Content aside

  • 5 days agoLast active
  • 1Replies
  • 17Views
  • 2 Following