Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
31 views

Consider the following code: Module assumed_rank_module Implicit None Contains Pure Function assumed_rank( a ) Result( s ) Integer :: s Real, Dimension( .. ), Intent( In ) :: a s ...
Ian Bush's user avatar
  • 7,707
1 vote
1 answer
86 views

Could you tell me how to write type-bound procedures for parameterized types? For example: module parameters type :: sinx (kind) integer, kind :: kind=4 real(kind) :: x contains procedure,...
Stanislav Fyodorov's user avatar
0 votes
1 answer
77 views

I am trying to use FFTw3 in Visual Studio using the Intel Fortran compiler. I am confused about normalization. I have setup a r2r spectral to grid plan for sinx siny components. ...
Brian Reinhold's user avatar
0 votes
0 answers
89 views

I have a fortran dll/so which needs to know its own programhandle. On windows, I can obtain the handle from the DLLMain routine: integer(4) function DllMain(hInst, ul_reason_being_called, lpReserved) ...
Mads M Pedersen's user avatar
1 vote
1 answer
95 views

I'm working on a mixed Fortran/C++ application in VS 2019. I'm using the IFX compiler, but the issue also shows up with IFORT. I've added some module and submodule files to my Fortran project, and one ...
byl's user avatar
  • 87
0 votes
1 answer
142 views

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 ...
Kiwi's user avatar
  • 48
0 votes
0 answers
95 views

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: ...
Subject303's user avatar
1 vote
0 answers
372 views

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 ...
Carl's user avatar
  • 11
0 votes
2 answers
244 views

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 ...
Jared's user avatar
  • 714
0 votes
1 answer
188 views

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\...
Glen Herman's user avatar
1 vote
1 answer
2k views

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: ...
Sahaj Jain's user avatar
1 vote
0 answers
142 views

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 ...
FusRoDah's user avatar
  • 149
0 votes
1 answer
655 views

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 ...
Surya Sarvajith's user avatar
0 votes
0 answers
26 views

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 ...
Albert2013's user avatar
0 votes
0 answers
143 views

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 ...
FortranZT's user avatar
0 votes
0 answers
39 views

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 ...
FortranZT's user avatar
10 votes
1 answer
474 views

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 ...
Swari du's user avatar
  • 101
0 votes
1 answer
188 views

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, ...
Echeban's user avatar
  • 204
1 vote
1 answer
115 views

!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" // ...
name castle's user avatar
0 votes
0 answers
156 views

I'm debugging my Fortran files recently changing from ifort to ifx, then I got a weird problem. Every time jumping from a subroutine to another subroutine, I get the error shown in the picture, but ...
白皓東's user avatar
0 votes
2 answers
122 views

I have the following program structure: type(mytype) :: x(10) !$OMP PARALLEL DEFAULT(SHARED) !$OMP MASTER do i = 1, 10 call sub1(x(i)) ! some stuff that cannot be parallelized call sub2(x(i)) ! ...
PierU's user avatar
  • 2,737
0 votes
0 answers
67 views

I inherited a rather large project that I am trying to get to compile (it's a bit old, maybe 10 years). I am trying to use new intel compilers with intel mpi on Ubuntu WSL. There are some C modules ...
yoc's user avatar
  • 1
1 vote
1 answer
100 views

How do I initialize a derived-type variable? PS. I'm an old F77 programmer, with decent knowledge of OOP using C#, but new to "derived-types" in Fortran. A MS student wrote a large code and ...
Echeban's user avatar
  • 204
1 vote
0 answers
73 views

I am working on a Fortran95 solution to Project Euler problem 22. I have it working correctly in the three complilers listed in the title, but for some reason the array labelled names is filled ...
Olivia A's user avatar
1 vote
1 answer
135 views

Consider the following minimal working example: program p type t integer,allocatable::i end type type(t),allocatable::o allocate(o) deallocate(o) end This code was ...
V T's user avatar
  • 337
0 votes
0 answers
29 views

I am using intel fortran and could not figure out why I don't get an error when accessing a position in a matrix that doesn't exist. I have a matrix umf3 with dimensions (36,6, 3,960,15). If I print ...
Lian's user avatar
  • 1
1 vote
1 answer
245 views

The following outputs asterisks (when I would expect -10.00) and I'm trying to figure out why: WRITE(*,'(G10.4)') -9.99961061241612 WRITE(*,'(G10.4)') -9.9996 I've tried the following cases: WRITE(*...
Phosphoenix's user avatar
2 votes
1 answer
91 views

I would like to store a pointer to a function as an attribute w/in a type. But the compiler complains that the first argument to the function ought to be the type (like the self or this argument in ...
trubliphone's user avatar
  • 4,586
0 votes
0 answers
146 views

In order to debug some code, I'm trying to use the "-check pointers" option. But it warn me and stop the run on some specific cases that I know are unrelated and non-problematic. I am then ...
Ray's user avatar
  • 1,050
0 votes
0 answers
328 views

I need to use OneAPI 2021 and VS2019 because the huge fortran model I am using only compiles on those, not more recent versions. I have the OneAPI 2021 and vs2019 installers. I have a procedure that ...
Millemila's user avatar
  • 1,676
1 vote
1 answer
170 views

This toy code has a problem. The program needs an explicit interface for the subroutine print_i. module types type plain integer :: i end type plain type, extends(plain) :: fancy integer :: i2 ...
bob.sacamento's user avatar
1 vote
1 answer
295 views

I am trying to compile this Fortran code using ifort (version 2022.1.0). I am getting an error: error #6633: The type of the actual argument differs from the type of the dummy argument. I already ...
Grzegorz Skrzyński's user avatar
0 votes
0 answers
36 views

I am compiling the following file as part of a much larger project: subroutine GetSoftwareLicense ! Checks out a license for this instance use Globals use Licensing implicit none ...
byl's user avatar
  • 87
0 votes
0 answers
96 views

It is a rather simple but frustrating question. I have written UMAT with ABAQUS, and part codes are as follows, macro_strain(:) = 0 macro_strain(1:3) = DSTRAN !print * , '...
yx feng's user avatar
  • 21
0 votes
0 answers
110 views

Meson is venerable build system, but its Fortran support is limited when compared to C. For example, in C, Meson has compiler.has_type(...), compiler.has_function(...), compiler.has_library(...), ...
Ghorban M. Tavakoly's user avatar
0 votes
0 answers
69 views

I want to use Fortran with MPI to do the resample with replacement on an array DATA(10^7). I want to do 1000 times resample with replacement, and plan to split these 1000 tasks across 10 processors. ...
Jia's user avatar
  • 1
1 vote
1 answer
114 views

I am running the same fortran code on my local windows machine and a cluster. A mwe of the code would be: program mwe use omp_lib implicit none integer :: indx integer :: indy integer :: ...
phdstudent's user avatar
  • 1,144
1 vote
0 answers
663 views

For my work I am compiling Fortran code in Visual Studio. Since I updated Visual Studio to the latest version (17.9.6), I can't access my code anymore. I already updated the Intel Base kit and HPC kit ...
Kris Pe's user avatar
  • 11
4 votes
1 answer
910 views

What does this warning message indicate & how can I provide the correct "platform load command"? ld: warning: no platform load command found in '/..../sdgr/..../ftnmmct.f.52.o', assuming:...
dbn's user avatar
  • 14.1k
1 vote
0 answers
103 views

I work with Fortran projects in VS2019. My projects employ many subroutines. I've been advised to put the subroutines into a MODULE to get more help from the debugger and code check. Copying the names ...
Echeban's user avatar
  • 204
1 vote
0 answers
109 views

The code is the simple code available in One API documentation for the test of the coarray functionality (reported below). The build of target "coarray2.exe" completes correctly (see image) ...
FabioMN's user avatar
  • 11
0 votes
2 answers
93 views

I have some Fortran code which forms a handle from the bit-pattern of a structure. It marks two structures as identical when the handle of each is the same. I am getting different handles for two ...
Arthur's user avatar
  • 3
0 votes
1 answer
169 views

I'm working on making a Fortran application run on both Windows and Linux. Up till now, it's been Windows only. For now, the Linux version is entirely terminal-based while the Windows version has a ...
byl's user avatar
  • 87
0 votes
0 answers
78 views

I am new to this community. I am using ifort compiler for my abaqus subroutine. I was using it effortlessly until the last 2 weeks I have been struggling a lot! It is just that my output is affected ...
Biswabhanu Puhan's user avatar
0 votes
1 answer
645 views

Here is a simple code of fortran with MPI: program mpi_broadcast_example use mpi implicit none integer :: ierr, rank, size, root integer :: a call MPI_Init(ierr) call ...
yaguang liu's user avatar
0 votes
1 answer
182 views

I was using visual studio 2008 with parallel studio xe2011 to do fortran code, sometimes I also use visual studio 2022 community version. I set the cmd prompt for ifort compiler in External Tools and ...
Lingai Guo's user avatar
1 vote
0 answers
214 views

Computer: intel i7-7820 OS: Windows 10 pro 64bit and WinXP pro running in Oracle VM Virtual box Fortran Compilers: Compaq Visual Fortran(CVF) Pro. 6.6.C Intel Fortran ifort version 2024.0.2.27 ...
Dr. H's user avatar
  • 11
1 vote
0 answers
171 views

Recently I encountered the following issue: I made this very simple program in Visual Studio Enterprise 2022, Intel® Fortran Compiler Classic 2021.10.0, Windows 10: program test implicit none ...
Monochromatic's user avatar
0 votes
0 answers
271 views

I'm moving some code from the Intel IFORT x86 compiler to the IFX x64 compiler and noticed that the (EN..) format behaves differently. For example a value of 1234567 output using (EN0.6) produces: ...
SAL's user avatar
  • 1,260
0 votes
1 answer
336 views

I am facing a problem running this specific subroutine cdpm2vumat.f in abaqus. The job log file shows this error. cdpm2vumat.f(677): remark #8291: Recommended relationship between field width 'W' and ...
Minhajul Bari Prince's user avatar

1
2 3 4 5
19