Chapter 7.3 : Code server
First you can prepare your working directory as for your laptop with the following command:
1 2 |
apptainer pull docker://gitlab-registry.in2p3.fr/cta-lapp/cours/introduction_cpp_algorithms/introduction_cpp_algorithms_alpine_micromamba_code_server:latest mkdir build |
In the following, we will explain how to run the code server on a mesocentre node and how to connect to it from your local machine. You need to choose a port to run the code server before. You can choose any available port on your local machine.
A port can not be used by another user. To avoid conflict here a table with the ports alocated to the users:
- jzoubian : 8081
- mdupont : 8082
- gsalmealier : 8083
- gscgallimard : 8084
- gsfantonini : 8085
- gsmgray : 8086
- gsmleroy : 8087
- gsmlo : 8088
- gsnmrhili : 8089
- gssmeradji : 8090
- gsytrardi : 8091
bind-addr: 127.0.0.1:<your_port> auth: password password: <your_password> cert: false
Then you have two options to run the code server on the mesocentre, with an interactive job or with a job submission.