Code Monkey home page Code Monkey logo

Comments (3)

sweverett avatar sweverett commented on September 15, 2024

To add to the confusion, I had a complete tile run successfully using nproc=6. I now think it may have to do with available resources on the des machine. Will try to test further.

from balrog-galsim.

sweverett avatar sweverett commented on September 15, 2024

Now that we are doing larger runs with 10 realizations per tile, it's more important that we get this right.
I've done a few more tests and found some hints. This failure mode has only occurred on Fermi machines so far but it appears to be a race condition - I ran galsim in debug mode (i.e. -v 3) and was able to finish far more chip injections before failure; ~50. Sometimes as high as a full band which is nearly 100 chips.

The extra print statements slow down the internal processing of galsim and decreases the chance of an individual race condition error. However, given enough chips, it will eventually still error. It is still unclear to me where exactly this is happening but it now seems more likely to be a hidden error rather than intrinsic issue with running on Fermi machines.

from balrog-galsim.

sweverett avatar sweverett commented on September 15, 2024

It appears that the issue with running on Fermi machines had to do with a clobbering of software versions in setup_balrog.sh. We now have a simplified setup that works as intended. The original comment per Brian:

Ok, I've looked at this, and I think the problem is with a too-complex, conflicting product setup in setup_balrog.sh It sets up a lot of products and then setting up galsim at the end sets up conflicting versions of these. I'm not sure exactly which product is the culprit, I suspect astropy but in any case, I've made an alternate setup_balrog.sh in: /data/des61.a/data/yanny/baltest/setup_balrog.sh This uses the galsim 1.5.1tmv. With this setup I'm able to run spencer's test case (above) galsim -v 1 mp_test.yaml many times in a row without error. In fact, all the versions of galsim including 1.5.0alpha work with this setup ,so long as only one is setup and one exits and reenters the shell cleanly and re-sets-up before each try.

from balrog-galsim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.