- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dssd
Here is an small code which causes a problem when the lock/unlock statements are called from the main program unit.
! ifort -coarray main.f90; ./a.out Module MyLock_Module use ISO_Fortran_Env ,only: Lock_Type implicit none type(Lock_Type) :: MyLock
If the two line with the "lock" and "unlock" statement are uncommented, then this code fails to compile with the following output
$ ifort -coarray main.f90; ./a.out /tmp/ifort45kohb.o: In function `CI0001$main_$BLK': main.f90:(.text+0x16d): undefined reference to `.st_mylock_module_mp_mylock_$2_V$82'
using
$ ifort -v ifort version 14.0.3
Thanks
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Interesting. I was able to reproduce this with 14.0, but not with 15.0; however I don't see any place we explicitly fixed a problem like this.
So, I'm going to add this little test to our regression suite just to make sure it stays working.
Thank you for the small example -
--Lorri

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page