Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ebrains-spack-builds
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Han Lu
ebrains-spack-builds
Commits
1b903b86
Commit
1b903b86
authored
9 months ago
by
Eleni Mathioulaki
Browse files
Options
Downloads
Patches
Plain Diff
fix: #56
parent
98b802f2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
create_JupyterLab_kernel.sh
+5
-0
5 additions, 0 deletions
create_JupyterLab_kernel.sh
with
5 additions
and
0 deletions
create_JupyterLab_kernel.sh
+
5
−
0
View file @
1b903b86
...
@@ -41,6 +41,11 @@ mkdir -p \$R_LIBS_USER
...
@@ -41,6 +41,11 @@ mkdir -p \$R_LIBS_USER
export R_LIBS=
\$
R_LIBS_USER:
\$
R_LIBS
export R_LIBS=
\$
R_LIBS_USER:
\$
R_LIBS
EOF
EOF
# ... and set the SYSTEMNAME env var, to use Spack commands inside the kernel
cat
<<
EOF
>>
$KERNEL_PATH
/bin/env.sh
export SYSTEMNAME=ebrainslab
EOF
# (4) create startup script for python kernel
# (4) create startup script for python kernel
cat
$KERNEL_PATH
/bin/env.sh
>
$KERNEL_PATH
/bin/env_python.sh
cat
$KERNEL_PATH
/bin/env.sh
>
$KERNEL_PATH
/bin/env_python.sh
echo
"python -m ipykernel_launcher -f
\$
@"
>>
$KERNEL_PATH
/bin/env_python.sh
echo
"python -m ipykernel_launcher -f
\$
@"
>>
$KERNEL_PATH
/bin/env_python.sh
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment