Giter VIP home page Giter VIP logo

Comments (4)

TravisMitchell avatar TravisMitchell commented on August 17, 2024

looks pretty cool! I'll hopefully be able to find some time in the next couple of weeks to test it out :)

from tclb.

mdzik avatar mdzik commented on August 17, 2024

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

image

from tclb.

mdzik avatar mdzik commented on August 17, 2024

And yes, its intended for standarized development/testing environment. Cuda environment is also there

from tclb.

mdzik avatar mdzik commented on August 17, 2024

... if images are not there, they will be build by makefile

from tclb.

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.