Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop allocating memory on the stack in the fortran code #9

Open
edeprince3 opened this issue Aug 25, 2015 · 3 comments
Open

stop allocating memory on the stack in the fortran code #9

edeprince3 opened this issue Aug 25, 2015 · 3 comments

Comments

@edeprince3
Copy link
Owner

The orbital optimization code is allocating some huge stuff on the stack, making it necessary for users to set "ulimit -s unlimited" .

@jtande
Copy link
Contributor

jtande commented Aug 28, 2015

adding "-heaps-array" intel compiler flag stops fortran code from allocating conditional arrays on stack. This is an issue with versions 8+ intel compiler. More information on this is found here https://software.intel.com/en-us/articles/intel-fortran-compiler-increased-stack-usage-of-80-or-higher-compilers-causes-segmentation-fault

@edeprince3
Copy link
Owner Author

Have you tried this with your 9-acene/cc-pvdz example? Does that then run correctly without using ulimit -s unlimited?

@jtande
Copy link
Contributor

jtande commented Aug 28, 2015

I tried ulimit -s unlimit on hpc with 9@ cc-pvtz. it ran and crashed. so I recompiled with the compiler option and everything ran well. The 10@cc-pvtz is also at near convergence

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants