Git Product home page Git Product logo

mitim-fusion's People

Contributors

pabloprf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

mitim-fusion's Issues

Branch access rights

Running my own local branch on a PPPL cluster but I don't have access rights to push this branch (not to main, but to my own branch). Is this something you would be willing to allow?

.json decode error

Format of config_user.json file has issues on PPPL's spark cluster. Using the suggested template (just for .json format testing) @(https://mitim-fusion.readthedocs.io/en/latest/installation.html#instructions)

"preferences": {
   "tglf":             "engaging",
   "verbose_level":    "5",
   "dpi_notebook":     "80"
},
"engaging": {
   "machine":          "eofe7.mit.edu",
   "username":         "pablorf",
   "partition":        "sched_mit_psfc",
   "identity":         "~/.ssh/id_rsa",
   "scratch":          "/nobackup1/pablorf/scratch/"
   }

and running

python3 $MITIM_PATH/tests/TGLF_workflow.py

gives error

(mitim-env) [jparisi@spark-login2 MITIM-fusion-spark]$ python3 $MITIM_PATH/tests/TGLF_workflow.py
Traceback (most recent call last):
  File "/p/gyro/jparisi/MITIM-fusion-spark/tests/TGLF_workflow.py", line 2, in <module>
    from mitim_tools.misc_tools import IOtools
  File "/p/gyro/jparisi/MITIM-fusion-spark/src/mitim_tools/misc_tools/IOtools.py", line 19, in <module>
    verbose_level = read_verbose_level()
  File "/p/gyro/jparisi/MITIM-fusion-spark/src/mitim_tools/misc_tools/CONFIGread.py", line 21, in read_verbose_level
    s = load_settings()
  File "/p/gyro/jparisi/MITIM-fusion-spark/src/mitim_tools/misc_tools/CONFIGread.py", line 15, in load_settings
    settings = json.load(f)
  File "/usr/lib64/python3.9/json/__init__.py", line 293, in load
    return loads(fp.read(),
  File "/usr/lib64/python3.9/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.9/json/decoder.py", line 340, in decode
    raise JSONDecodeError("Extra data", s, end)
json.decoder.JSONDecodeError: Extra data: line 1 column 14 (char 13)

Slurm submission script requires memory specification

On PPPL's spark cluster, specifying memory in the bash.src script is required, otherwise job fails. I recommend we add something like

    # ******* memory setup
    if memory_req is not None:
        commandSBATCH.append(f"#SBATCH --mem {memory_req}GB")

to FARMINGtools.py.

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.