pabloprf / mitim-fusion Goto Github PK
View Code? Open in Web Editor NEWMITIM (MIT Integrated Modeling) Suite for Fusion Applications
Home Page: https://mitim-fusion.readthedocs.io
MITIM (MIT Integrated Modeling) Suite for Fusion Applications
Home Page: https://mitim-fusion.readthedocs.io
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?
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)
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
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.