Play with Fortran in the cloud
Hi all,I have created a Jupyter Notebook kernel for Fortran. Currently, this uses GFortran 7.1 and OpenCoarrays but it would not be hard to extend/fork it to run with ifort. The repo with the magic...
View ArticlePartially assumed-shape arrays
When I compile the following snippet: program dimension_specifications_incompatible implicit none integer,dimension(1:3,1:3)::a call print_matrix(a) end program dimension_specifications_incompatible...
View ArticleError in multigrid code
Hi,I am writing a Multigrid code and I have encountered a strange bug. Sorry this might be a little bit long, but I am seeking for help desperately. The structure of my code is as follows. 1. I need...
View Articlemac fort openmp
The man for openmp has no description text, so has it been dropped or not working ?ifort -qopenmp should work, or has the default operation changed ?[mac27:~/test] bmcinnes% ifort -VIntel(R) Fortran...
View ArticleIs it possible to compile with intel fortran and openmpi instead of intelmpi?
Hello, everyoneI currently working with an open source software, when compiled with gfortran and openmpi, it works. However, when compiled with intel parallel studio, it got mysterious mpiabort...
View ArticleCalling non-deferred procedure in abstract type by parent name
So I have an abstract type with some stuff in it, and a procedure to set that stuffmodule firstTypeMod type, abstract:: firstType character(len=30):: tempChar contains procedure(defProc), deferred::...
View Articleomp parallel do + omp do should be rejected when compilation time
Hi,The following simple nested OpenMP program(omp parallel do + omp do) can be compiled only with intel compiler.=====$ cat test.f90 program test implicit none integer,parameter :: imax=4, jmax=4...
View Articleld: cannot find -ldl with -fast
When I used the option "-fast" in the mpiifort it got ld: cannot find -ldl error, and could not build the executable file. BTW, the executable file can be built without "-fast" option. In addition,...
View ArticlePointing to concurrent variables
Hi,I'ld like to ask if it's save to point to concurrent variables outside a concurrent construct and use the pointer inside the concurrent construct. E.g.:... integer :: m,n integer, target :: i, k...
View ArticleDeallocate error on pointer obtained through C_F_POINTER
Hi, I am facing an issue with ifort 17.0 (the same code was working fine with ifort 12.1 and 16.0) on a simple code where I try to deallocate the fptr returned by C_F_POINTER from ISO_C_BINDING (I...
View Articledeclared variable type not exported from Fortran module
I am trying to compile a Fortran code including a specific module with the following type declaration and function definition:integer, parameter, public :: intd = selected_int_kind(17) ... contains ......
View ArticleSwitching Intel Fortran licensing from named-user to floating?
I just bought Intel Fortran named user license on June 21, 2017. I found out I need to have a floating license instead of a locked license. Does Intel has a sales rep I can contact to get this...
View ArticleIs there a way to upgrade Intel Fortran named-user license to a floating...
Is there a way to upgrade Intel Fortran named-user license to a floating license? I bought a named-user licenselast week, just realized I need to have a floating license instead of named-user license....
View ArticlePartially assumed-shape arrays
When I compile the following snippet: program dimension_specifications_incompatible implicit none integer,dimension(1:3,1:3)::a call print_matrix(a) end program dimension_specifications_incompatible...
View ArticleError in multigrid code
Hi,I am writing a Multigrid code and I have encountered a strange bug. Sorry this might be a little bit long, but I am seeking for help desperately. The structure of my code is as follows. 1. I need...
View ArticleMissing files during code coverage
I have a project that I compile with the intel toolchain. All the .f90 files are compiled to corresponding .o files in the bin directory. When I use the codecov utility I get an HTML with the list of...
View Articleifort GLIBC dependencies
When compiling with ifort 17 on Linux, I notice very different GLIBC dependencies than when compiling with icc. In particular, the following code program main write(*,*) 'Hello world!'...
View Articleusing polymorphic pointer to wrap module
I tried unsuccessfully to use a polymorphic pointer in a Fortran calling program to represent a specific user defined type in a library that users of the library don't necessarily have access to the...
View ArticleCOMMON BLOCK
Hello, i have a doubt.In a program i have 2 differents names for the same COMMON.They have the same name however some variables have different name.My question is R and R1 have the same value or not ?...
View Articleforrtl: severe(111)
HelloMy application is generating the following error:forrtl: severe(111): position number is outside of the valid range, unit 11, file (...)I cannot find any documentation on what this specifically...
View Article