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

Long builds and large RAM footprint. Split gf_fnt.py in pieces? #635

Closed
HugoStrand opened this issue Sep 14, 2018 · 6 comments
Closed

Long builds and large RAM footprint. Split gf_fnt.py in pieces? #635

HugoStrand opened this issue Sep 14, 2018 · 6 comments
Assignees
Milestone

Comments

@HugoStrand
Copy link
Member

Dear all,

The last six months the build time and memory requirement to build the c++ wrapper for gf_fnt.py has increased drastically. On some of my cluster machines I can no longer build triqs on the login node since that particular compilations uses too much RAM and gets killed.

I would suggest that we split the methods wrapped into several smaller sub module files. This will enable parallel builds and reduce the memory footprint somewhat.

Is there some argument against this?

Best, Hugo

@parcollet parcollet self-assigned this Nov 15, 2018
@parcollet
Copy link
Member

Yes, we can do this, no issue.

@HugoStrand
Copy link
Member Author

Good. Who, when, and how?

@Wentzell
Copy link
Member

I would suggest that we split the methods wrapped into several smaller sub module files. This will enable parallel builds and reduce the memory footprint somewhat.

Agreed! The build time is indeed going through the roof for this file.

@patryk-kubiczek
Copy link

I also had problems with building gf_fnt target. The build would not even start. I was able to track the commit which made this target unable to compile, namely: c6759f4 . I had to go one commit back in order to be able to use TRIQS 2.0 on my machine.

@parcollet
Copy link
Member

Move to cpp2py issue.

@Wentzell
Copy link
Member

Move to cpp2py issue.

Indeed. As discussed this problem should be resolved at the level of cpp2py.
I have opened a corresponding issue for cpp2py.

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

4 participants