Comments (4)
looks pretty cool! I'll hopefully be able to find some time in the next couple of weeks to test it out :)
from tclb.
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
from tclb.
And yes, its intended for standarized development/testing environment. Cuda environment is also there
from tclb.
... if images are not there, they will be build by makefile
from tclb.
Related Issues (20)
- Building and running on macOS HOT 2
- Error on compilation with --enable-debug
- Dynamic access in 2D models
- Memory leak HOT 2
- Name collision in `d2q9_npe_guo` model
- Weird global state, possibly left over test code? HOT 1
- Export / Access of Geometry using RunR is not correct
- Program logic within `assert` statements
- Inconsistency between RunR export and VTK HOT 1
- Repeated output error message in TCLB 6.7 HOT 2
- Failcheck always triggers for arbitrary grid
- Questions about wall bouncing HOT 10
- Zone indexes are not consistent HOT 1
- Symmetry for the domain does not work
- Out of memory errors don't work properly HOT 5
- Large offset support HOT 1
- `develop` branch requires fairly recent compilers HOT 1
- R packages should be installed by configure
- bug with [ 0] ERROR ! Unknown setting AccelX
- error in tutorial d2q9_shanchen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tclb.