923 questions
0
votes
0
answers
29
views
Publishing console app. is not possible. I am Using INTEL Fortran, VisualStudio 2022 Version 17.13.6
Hello I cannot find "Publish" selection from VS 2022 Project "PopUp" menu.
So I cannot create folder that includes all necessary files for
making Installation application.
Is there ...
0
votes
1
answer
73
views
ifx "ignoring unknown option '/version'
I am using Visual Studio 2022 with Intel OneAPI (Base + HPC) to try and create a Fortran program in Windows 11. I'm having a few issues compiling which I'm troubleshooting, but I'm stumped that ifx ...
0
votes
0
answers
61
views
Unrecognised compiler commands in a compiler config file ran using the mpiifort command
Hi I'm trying to compile and run a .f90 code using the intel fortran compiler (ifx) and the intel mpi library on a linux HPC.
I'm invoking the compiler through a .sh script with the following lines:
...
0
votes
0
answers
92
views
How to switch the compiler from IFORT to IFX in Visual Studio 2022
I am working on an existing project with multiple collections of routines, and each collection is compiled with IFORT. Compiler messages are telling me IFORT is deprecated as of late 2024, so I would ...
0
votes
1
answer
105
views
Force error on warning when compiling with ifx/ifort?
This is a remarkably trivial question, but clearly I am missing something: I just want compilation of the below Fortran program to fail when compiling with ifx/ifort if a warning is thrown. I have ...
0
votes
1
answer
83
views
Fortran - Syntax error, found END-OF-STATEMENT [duplicate]
Intel fortran compiler (2024.2.0.633), Visual Studio 2022, 32bit. Compiling .for files from very old fortran routines.
Code did not copy well into code tags, so I pasted an image.
Problem:
C:\Users\...
1
vote
1
answer
533
views
malloc(): unaligned tcache chunk detected. Has anyone faced this before for MPI fortran programs?
I have an MPI program, where I face the "malloc(): unaligned tcache chunk detected" error if I run it on one processor, but not on 8 processors. The memory allocation looks like this:
...
1
vote
0
answers
93
views
Ifx cannot find modern generic MKL routines like GEMM_F95
I am compiling Fortran code with the ifx compiler (version 2025.0.4) on Windows. I have the Intel MKL library downloaded as well and I am trying to compile a program using it, like this:
ifx test.f90 ...
0
votes
1
answer
164
views
Visual Studio 2022 - Fortran - Debugging Issue
I have been working on a Fortran code in visual studio 2022 using intel OneAPI compiler. The code is compiling correctly and it is running fine. Recently when I try to debug the code, I am unable to ...
0
votes
0
answers
17
views
How to link Abaqus to MATLAB libraries?
I am currently working on writing a UMAT subroutine. In one part of the code, I need to solve a system of linear equations. Initially, I used Fortran libraries such as LAPACK and PARDISO for solving ...
0
votes
0
answers
122
views
Using ScaLAPACK subroutine PDGEMR2D gives errors
I am working on a problem where I need the full spectrum of a Hamiltonian matrix. I order to have a better performance, I am using ScaLAPACK routine PDSYEV to compute the eigenstates and eigenvalues ...
0
votes
0
answers
28
views
Initialize the global matrix to a single process, and then distribute to the process grid to use ScaLAPACK rouines
I am working on a problem, and I need to use ScaLAPACK library to optimize the computations. I have to deal with large numerical problems, where the number of states nst>20000, therefore the ...
10
votes
1
answer
429
views
Unexpected Slower Performance with Column-Major Access in Fortran Arrays
I'm working on optimizing array access patterns in Fortran.
I allocated and accessed the array considering that Fortran allocates multi-dimensional arrays in column-major order.
However, I'm observing ...
0
votes
1
answer
74
views
How to solve LNK4098 warning, libcmt.lib conflicts with libraries? and subsequent erroneous results
I need to produce a static .exe to distribute to users that have no VisualStudio, no Intel Fortran/oneAPI, and no MKL.
My code "UgensTester.f90" worked fine since 2010 with yearly updates, ...
1
vote
1
answer
73
views
How to print a colored text without including ANSI escape sequence in the output length?
!example
program main
implicit none
character(len=8) :: red, reset
character(len=16) :: redO
red = char(27) // '[31m'
reset = char(27) // '[0m'
redO = trim(adjustl(red // "O" // ...