[Wien] setrlimit routine in Mac OS X platform
tasaka at affinity-science.com
tasaka at affinity-science.com
Tue Mar 5 18:21:34 CET 2013
Hello,
I'm trying to build the execution files on Mac OS X Lion platform
with wien2k_12.1, gfortran, openblas, openmpi etc. then, I think
that Mac OS X can't handle RLIM_INFINITY in setrlimit routine.
so, I'd like to skip w2k_extend_limits() in W2kinit.F as below.
*** ./SRC_hf/W2kinit.F.bak 2013-03-04 22:53:46.000000000 +0900
--- ./SRC_hf/W2kinit.F 2013-03-04 22:53:49.000000000 +0900
***************
*** 27,33 ****
--- 27,35 ----
#ifdef INTEL_VML
include 'mkl_vml.fi'
#endif
+ #ifndef MACOSX
call w2k_extend_limits()
+ #endif
#ifdef Parallel
! Register C signal dispatcher, needed for parallel only
*** ./SRC_lapw0/W2kinit.F.bak 2013-03-04 22:47:09.000000000 +0900
--- ./SRC_lapw0/W2kinit.F 2013-03-04 22:50:11.000000000 +0900
it seems to work well. but if there are any problems/precautions,
please advise.
Any information would be appreciated.
With best regards,
Tomo
More information about the Wien
mailing list