Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
21 Views

getcwd issue in ifort 17.0.5

was there a problem calling getcwd  in intel fortran 17.0.5 on Linux, maybe opening file handles and not closing them?  Maybe fixed in 17.1 since we have not had problems with Linux 17.1?

 

I am seeing strace output calling getcwd with open but not close.

getcwd("/pw/data/DDS/m313133/acsys/v_mapstart/at/BA_1B/working_1_iter", 4096) = 62
stat("/pw/data/DDS/m313133/acsys/v_mapstart/at/BA_1B/working_1_iter/cfdstagline.map", {st_mode=S_IFREG|0770, st_size=3813, ...}) = 0
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4
getdents(4, /* 73 entries */, 32768)    = 2528
stat("./cfdstagline.map", {st_mode=S_IFREG|0770, st_size=3813, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=3519, ...}) = 0
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EMFILE (Too many open files)
getcwd("/pw/data/DDS/m313133/acsys/v_mapstart/at/BA_1B/working_1_iter", 4096) = 62
stat("/pw/data/DDS/m313133/acsys/v_mapstart/at/BA_1B/working_1_iter/cfdprof.map", {st_mode=S_IFREG|0770, st_size=71298, ...}) = 0
open(".", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 EMFILE (Too many open files)

0 Kudos
0 Replies