-
Notifications
You must be signed in to change notification settings - Fork 71
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
TCLB_binder proposition #364
Comments
looks pretty cool! I'll hopefully be able to find some time in the next couple of weeks to test it out :) |
So.. I've more-or-less finished making click-and-play environment for TCLB https://github.com/mdzik/TCLB_docker mdzik@localhost:~/_TCLB/TCLB_docker$ source activate workspace_cpu
Activating workspace_cpu TCLB Environment
export configureargs
make .local/tclb_workspace__latest
make[1]: Entering directory '/home/mdzik/_TCLB/TCLB_docker'
make[1]: '.local/tclb_workspace__latest' is up to date.
make[1]: Leaving directory '/home/mdzik/_TCLB/TCLB_docker'
make configureargs="--disable-cuda --with-python --with-python-config=python3.8-config --enable-double --enable-keepcode --enable-rinside --enable-cpp11 --with-openmp --with-hdf5 --with-hdf5-lib=//usr/lib/x86_64-linux-gnu/hdf5/openmpi/ --with-hdf5-include=/usr/include/hdf5/openmpi" .local/config_workspace__latest
make[1]: Entering directory '/home/mdzik/_TCLB/TCLB_docker'
echo ". config_all" > .local/config_workspace__latest
echo SIF=`pwd`"/$(echo .local/config_workspace__latest | sed 's/config/tclb/g')" > .local/config_workspace__latest
echo TCLB_ENV="$(echo .local/config_workspace__latest | sed 's/config/tclb/g' | sed 's/.*\///g')" >> .local/config_workspace__latest
echo CONFIGUREARGS="\"--disable-cuda --with-python --with-python-config=python3.8-config --enable-double --enable-keepcode --enable-rinside --enable-cpp11 --with-openmp --with-hdf5 --with-hdf5-lib=//usr/lib/x86_64-linux-gnu/hdf5/openmpi/ --with-hdf5-include=/usr/include/hdf5/openmpi\"" >> .local/config_workspace__latest
make[1]: Leaving directory '/home/mdzik/_TCLB/TCLB_docker'
ln -fs config_workspace__latest .local/config_workspace_cpu
======================================================================
Remember to put path to TCLB source code into .local/config_all file!!
======================================================================
======================================================================
This is WorkSpace edition: juperlab command is avalible
======================================================================
scmd COMMAND - run COMMAND inside TCLB singularity environment
tclb MODEL FILE ARGS - run CLB/MODEL/main FILE ARGS inside TCLB singularity environment
tclbmpi MODEL FILE ARGS - run mpirun CLB/MODEL/main FILE ARGS inside TCLB singularity environment
R ARGS - run R inside TCLB singularity environment
make ARGS - run make ARGS inside singularity environment in TCLB path (current path is ignored)
deactivate - clear environment
tclb_help - print this message
(TCLB:tclb_workspace__latest) mdzik@localhost:~/_TCLB/TCLB_docker$ cd $TCLBBUILDPATH
(TCLB:tclb_workspace__latest) mdzik@localhost:~/TCLB$ ./configure $CONFIGUREARGS
....lotsofoutput...
(TCLB:tclb_workspace__latest) mdzik@localhost:~/_TCLB/TCLB_docker$ jupyterlab
[I 2021-11-05 16:30:05.708 ServerApp] jupyterlab | extension was successfully linked.
[I 2021-11-05 16:30:06.531 ServerApp] nbclassic | extension was successfully linked.
[I 2021-11-05 16:30:06.629 ServerApp] nbclassic | extension was successfully loaded.
[I 2021-11-05 16:30:06.632 LabApp] JupyterLab extension loaded from /usr/local/lib/python3.8/dist-packages/jupyterlab
[I 2021-11-05 16:30:06.632 LabApp] JupyterLab application directory is /usr/local/share/jupyter/lab
[I 2021-11-05 16:30:06.640 ServerApp] jupyterlab | extension was successfully loaded.
[I 2021-11-05 16:30:06.641 ServerApp] Serving notebooks from local directory: /home/mdzik/_TCLB/TCLB_docker
[I 2021-11-05 16:30:06.641 ServerApp] Jupyter Server 1.11.1 is running at:
[I 2021-11-05 16:30:06.641 ServerApp] http://localhost:8888/lab?token=4963fb67259007759f6a7fd5b24e97f99581091a4834a550
[I 2021-11-05 16:30:06.641 ServerApp] or http://127.0.0.1:8888/lab?token=4963fb67259007759f6a7fd5b24e97f99581091a4834a550
[I 2021-11-05 16:30:06.641 ServerApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 2021-11-05 16:30:06.651 ServerApp]
To access the server, open this file in a browser:
file:///home/mdzik/.local/share/jupyter/runtime/jpserver-11594-open.html
Or copy and paste one of these URLs:
http://localhost:8888/lab?token=XXXX
or http://127.0.0.1:8888/lab?token=XXXX |
And yes, its intended for standarized development/testing environment. Cuda environment is also there |
... if images are not there, they will be build by makefile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found that:
https://github.com/mdzik/TCLB_binder/blob/main/README.md
;]
Happy testing - there is only 2 models atm, but you could open terminal and compile any from my repo. Git is also installed I think, but is should be rather precompiled environment for educational and paper review purposes.
The text was updated successfully, but these errors were encountered: