Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:singularity:caviness [2018-08-09 12:52] – [Inside your interactive session or your batch job you must first issue the command] anita | software:singularity:caviness [2024-08-27 17:51] (current) – anita | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ======= Singularity on Caviness ====== | + | ======= |
===== Build a Singularity container ===== | ===== Build a Singularity container ===== | ||
Line 58: | Line 58: | ||
Singularity tensorflow.simg: | Singularity tensorflow.simg: | ||
+ | usage: tensorboard [-h] [--logdir PATH] [--host ADDR] [--port PORT] | ||
+ | | ||
+ | [--db URI] [--inspect] [--tag TAG] [--event_file PATH] | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
- | USAGE: /usr/local/bin/ | + | TensorBoard is a suite of web applications for inspectinng and understanding |
- | + | your TensorFlow runs and graphs. https://github.com/tensorflow/ | |
- | Try --helpfull to get a list of all flags. | + | |
Singularity tensorflow.simg: | Singularity tensorflow.simg: | ||
Cpus_allowed_list: | Cpus_allowed_list: | ||
- | Singularity tensorflow.simg: | + | Singularity tensorflow.simg: |
+ | exit | ||
+ | [traine@r00n45 ~]$ | ||
+ | </ | ||
+ | |||
+ | ==== Troubleshooting ==== | ||
+ | |||
+ | === Locale error === | ||
+ | |||
+ | If you experience the error below after starting a particular shell container, then it is likely due to your current locale not being supported in this particular container' | ||
+ | |||
+ | <code bash> | ||
+ | [traine@r00n45 ~]$ vpkg_require singularity | ||
+ | Adding package `singularity/ | ||
+ | [traine@r00n45 ~]$ singularity shell tensorflow.simg | ||
+ | Singularity: | ||
+ | |||
+ | Singularity tensorflow.simg: | ||
+ | Traceback (most recent call last): | ||
+ | File "/ | ||
+ | sys.exit(run_main()) | ||
+ | File "/ | ||
+ | program.setup_environment() | ||
+ | File "/ | ||
+ | util.setup_logging() | ||
+ | File "/ | ||
+ | locale.setlocale(locale.LC_ALL, | ||
+ | File "/ | ||
+ | return _setlocale(category, | ||
+ | locale.Error: | ||
+ | </ | ||
+ | |||
+ | Once you start the container shell, check which locale' | ||
+ | |||
+ | <code bash> | ||
+ | Singularity tensorflow.simg: | ||
+ | locale: Cannot set LC_CTYPE to default locale: No such file or directory | ||
+ | locale: Cannot set LC_MESSAGES to default locale: No such file or directory | ||
+ | locale: Cannot set LC_COLLATE to default locale: No such file or directory | ||
+ | C | ||
+ | C.UTF-8 | ||
+ | POSIX | ||
+ | </ | ||
+ | |||
+ | Of course in this particular case, the locale setting for account '' | ||
+ | |||
+ | <code bash> | ||
+ | [traine@r00n45 ~]$ vpkg_require singularity | ||
+ | Adding package `singularity/ | ||
+ | [tainne@r00n45 ~]$ LANG=C.UTF-8 singularity shell tensorflow.simg | ||
+ | Singularity: | ||
+ | |||
+ | Singularity tensorflow.simg: | ||
+ | usage: tensorboard [-h] [--logdir PATH] [--host ADDR] [--port PORT] | ||
+ | | ||
+ | [--db URI] [--inspect] [--tag TAG] [--event_file PATH] | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |||
+ | TensorBoard is a suite of web applications for inspectinng and understanding | ||
+ | your TensorFlow runs and graphs. https:// | ||
+ | |||
+ | [[ lots of additional information displayed for optional arguments | ||
+ | |||
+ | Singularity tensorflow.simg: | ||
+ | exit | ||
+ | [traine@r00n45 ~]$ | ||
</ | </ | ||