[Wien] Running Wien2k on a MacPro OS 10.7.3 - setrlimit(): Invalid argument

Laurence Marks L-marks at northwestern.edu
Thu Apr 12 22:56:24 CEST 2012


You are right, Mac is not standard linux and restricts the rights of
users to do things such as setting ulimit (which is done now in the
code to avoid problems). Please search the mailing list -- I think a
Mac specific patch was posted some time ago.

On Thu, Apr 12, 2012 at 3:53 PM, Aaron Sutton
<asutton at physics.utoronto.ca> wrote:
> Hi,
> Hoping someone can help with running Wien2k on a Mac under 10.7.3
> Lion. Everything compiled fine using gcc & intel fortran 11.1. The
> calculation initializes fine, but as soon as I start the calculation I
> get "setrlimit(): Invalid argument", which is apparently a mac
> limitation. How do I avoid this setrlimit issue? I can run Wien2k
> perfectly fine under linux in a VM but I'd prefer to run it natively.
>
> Thanks very much.
> ----------------------------------------------------------------------------
> Aaron Sutton
> Ph.D. Candidate | University of Toronto
> Office: McLennan MP090 | Phone: +1 416 946 3639
> Email: asutton at physics.utoronto.ca
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien



-- 
Professor Laurence Marks
Department of Materials Science and Engineering
Northwestern University
www.numis.northwestern.edu 1-847-491-3996
"Research is to see what everybody else has seen, and to think what
nobody else has thought"
Albert Szent-Gyorgi


More information about the Wien mailing list