up/downcasting in Fortran2003
In fortran 2003, classes and OOP are defined in the standard. I would like to know how upcasting and downcasting are performed.Is it possible to perform without using SELECT TYPE since I'm dealing with...
View ArticleInstallation of Intel Compiler 11.1.059 under Linux Mint 19.1 fails
Hi everybody,I had to upgrade my Linux Mint from version 17.3 to version 19.1 as the first reached its end of life.Under the new Linux Mint 19.1 I need now to reinstall my 'old' Intel compiler suite...
View ArticleICE in 19.04 with type bound generic interface
Hi,the following code generates an internal compiler error when compiled with 19.04Module Mod_Paof Implicit none Private Type, Public :: parent contains Private Generic, Public :: bar => foo...
View Article"Segmentation fault occurred" occurs in Fortran, but the error disappears...
Dear all,I am creating a program in Fortran90."Forrtl: severe (174): SIGSEGV, segmentation fault occurred" occurs in an array in a structure.I tried to check the index by writing a print statement to...
View Article"Segmentation fault occurred" occurs in Fortran, but the error disappears...
Dear all,I am creating a program in Fortran90."Forrtl: severe (174): SIGSEGV, segmentation fault occurred" occurs in an array in a structure.I tried to check the index by writing a print statement to...
View ArticleAssignment error OOP and polymorphism
Hi all. Trying OOP and polymorphism I manage to code an example which runs properly in Windows with the ifort14 compiler. When trying to run this in a Linux system with ifort18 I receive the following...
View ArticleCan I have a fortran compiler ver 10.0.025
Hello. I am a college student in Japan.I'd like to have Intel Fortran Compiler ver. 10.0.025.So I registered student account and tried to install Intell Parallel Studio XE.But I can't find the version...
View ArticleHow to free memory returned as c_ptr
I have a lib which is written in Fortran and is intent to be used by both Fortran and C using iso_c_binding. Basically, in the lib, a subroutine allocates a Fortran array (may be of any type) and...
View ArticleGeneric pointer alias to another pointer
I don't know how to reference what I am trying to do, but here is the explanation of what I desire to do. In one module file "mod1.f" I have defined the following type type md_typ1 real, pointer,...
View ArticleCompile WRF (dm+sm) error
Hi all.I am a user of the WRF weather model. After reading an Intel article on improving the performance of WRF, I compiled WRF with (dm+sm). I used the Intel compiler in its 2018 version.The...
View Articleoptional parameter error
my new version compiler is ifort version 19.0.2.187my old version compiler is ifort version 15.0.3system is linux(redhat)my code use old compiler and link ,code run is right,but we change to new...
View ArticleError #7002
Dear all,I am beginning with Linux computer and I would use a home code for a summer job. The code is written in fortran and I have to use Intel Fortran Compiler, but, when I compile the code, an error...
View ArticleUPDATE 1 for Intel® Fortran Composer XE 2020 Technical Preview (beta)
Intel® Fortran Composer XE 2020 Technical Preview (beta) Update 1We are pleased to announce Intel® Parallel Studio XE 2020 Technical Preview Composer Edition UPDATE 1 for Fortran is ready for testing....
View ArticleDeclared type with pointers/allocatables and memory leak
I have recently been reading the book: Scientific software design: the objective oriented way by Rouson et al. and I came across the issue with memory leak in Fortran. It was specifically mentioning...
View ArticleUser defined derived-ype IO for extended type
I'd like to add user defined derived-type IO for an extended type. However I got an error message"error #8638: The type/rank signature for arguments of this specific subroutine is identical to another...
View Articleselect type parameterized data type
Am trying to use select type and i have a parameterized data type.I can't find whether it's possible to use the select type in order to do an upcasting.And when i search in the standard i only find...
View ArticleCoarrays: undefined reference to for_rtl_ICAF_LAUNCH
Hello,I am trying to port a coarray fortran application from Windows to Linux (Ubuntu 16.04). This application compiles and works fine under Windows. I am using the Intel Fortran 19 Update 4. I applied...
View ArticleTracking a Fortran bug at the assembly level
Hi,I've been working on a bug for weeks that is very difficult to hunt. Finally, I've decided to go at the assembly level to track it down. I am not allowed to share or post the code, but I am quite...
View ArticleBug with pointer to component of allocated type
I believe I finally found a nasty compiler bug. Starting with compiler version intel/2017.5.239 up to the most recent avaiable for me intel/2019.0.117, there is a problem with pointing to a component...
View ArticleInternal compiler error when using matmul
Hello,Our code uses large arrays and the matmul intrinsic. Recently, when compiling with -check all, I got an internal compiler error. I have stripped down the problem to a simple program (see...
View Article