<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>L2IT Formation  - Recent changes [en]</title>
		<link>https://ccl2it-formation.in2p3.fr/index.php/Special:RecentChanges</link>
		<description>Track the most recent changes to the wiki in this feed.</description>
		<language>en</language>
		<generator>MediaWiki 1.45.3</generator>
		<lastBuildDate>Tue, 26 May 2026 22:09:13 GMT</lastBuildDate>
		<item>
			<title>Tutorial — Basic usage of CC-IN2P3</title>
			<link>https://ccl2it-formation.in2p3.fr/index.php?title=Tutorial_%E2%80%94_Basic_usage_of_CC-IN2P3&amp;diff=49&amp;oldid=0</link>
			<guid isPermaLink="false">https://ccl2it-formation.in2p3.fr/index.php?title=Tutorial_%E2%80%94_Basic_usage_of_CC-IN2P3&amp;diff=49&amp;oldid=0</guid>
			<description>&lt;p&gt;Created page with &amp;quot;{{Contribute}}  == Tutorial — Basic usage of CC-IN2P3 ==  === Introduction ===  This tutorial is part of a collaborative wiki: feel free to update it, modify it, or add relevant information for future users.  === Connecting to the computing center ===  From a local terminal on your computer, you can connect to the CC-IN2P3 server using SSH:  &amp;lt;pre&amp;gt; ssh &amp;lt;USERNAME&amp;gt;@cca.in2p3.fr &amp;lt;/pre&amp;gt;  After entering your username and password, if the connection is successful you should s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Contribute}}&lt;br /&gt;
&lt;br /&gt;
== Tutorial — Basic usage of CC-IN2P3 ==&lt;br /&gt;
&lt;br /&gt;
=== Introduction ===&lt;br /&gt;
&lt;br /&gt;
This tutorial is part of a collaborative wiki: feel free to update it, modify it, or add relevant information for future users.&lt;br /&gt;
&lt;br /&gt;
=== Connecting to the computing center ===&lt;br /&gt;
&lt;br /&gt;
From a local terminal on your computer, you can connect to the CC-IN2P3 server using SSH:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
ssh &amp;lt;USERNAME&amp;gt;@cca.in2p3.fr&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After entering your username and password, if the connection is successful you should see a message similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
################################################################################&lt;br /&gt;
               _________________________________________________&lt;br /&gt;
              |                                                 |&lt;br /&gt;
              | Bienvenue au Centre de Calcul de l&amp;#039;IN2P3 / CNRS |&lt;br /&gt;
              |_________________________________________________|&lt;br /&gt;
&lt;br /&gt;
Pour votre utilisation quotidienne des serveurs interactifs,&lt;br /&gt;
merci de consulter le guide des bonnes pratiques :&lt;br /&gt;
https://doc.cc.in2p3.fr/fr/Daily-usage/access/cca-connect.html#cca-best-practices&lt;br /&gt;
&lt;br /&gt;
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;
                ______________________________________________&lt;br /&gt;
               |                                              |&lt;br /&gt;
               | Welcome to the IN2P3 Computing Center / CNRS |&lt;br /&gt;
               |______________________________________________|&lt;br /&gt;
&lt;br /&gt;
For your daily use of interactive servers, please read the best practices guide:&lt;br /&gt;
https://doc.cc.in2p3.fr/en/Daily-usage/access/cca-connect.html#cca-best-practices&lt;br /&gt;
&lt;br /&gt;
################################################################################&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You now have access to a terminal on the computing center in Lyon.&lt;br /&gt;
&lt;br /&gt;
=== Preparing a job ===&lt;br /&gt;
&lt;br /&gt;
Create a new directory and move into it:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir test_hello_world&lt;br /&gt;
cd test_hello_world&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Copy an example C program:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp /pbs/throng/l2it/tutoriel_exemple_file/hello_world_c/hello_world.c ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can inspect the file with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat hello_world.c&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Compile the code to create an executable:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
gcc hello_world.c -o hello_world&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Submitting a job ===&lt;br /&gt;
&lt;br /&gt;
Copy a job script:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cp /pbs/throng/l2it/tutoriel_exemple_file/hello_world_c/job.sh ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Inspect it with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat job.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Lines starting with #SBATCH provide instructions to the scheduler (job name, time limit, memory, etc.).  &lt;br /&gt;
The command:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
./hello_world &amp;gt; hello_world.out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
runs the program and saves the output.&lt;br /&gt;
&lt;br /&gt;
Submit the job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
sbatch job.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You should see output similar to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Submitted batch job XXXXXXXX&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Check the job status:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
squeue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the job no longer appears, it has completed.&lt;br /&gt;
&lt;br /&gt;
View output files:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
cat test_XXXX.log&lt;br /&gt;
cat hello_world.out&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Expected result:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Hello, World!&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Cancelling a job ===&lt;br /&gt;
&lt;br /&gt;
To cancel a job:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scancel &amp;lt;JOB_ID&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Find the job ID with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
squeue&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Downloading data locally ===&lt;br /&gt;
&lt;br /&gt;
To copy files from the computing center to your local machine:&lt;br /&gt;
&lt;br /&gt;
1. Exit the remote session:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
exit&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
2. Use scp from your local terminal:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
scp &amp;lt;USERNAME&amp;gt;@cca.in2p3.fr:test_hello_world/hello_world.out ./&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The file will be copied to your current directory.&lt;br /&gt;
&lt;br /&gt;
=== Further resources ===&lt;br /&gt;
&lt;br /&gt;
* https://doc.cc.in2p3.fr/index.html&lt;/div&gt;</description>
			<pubDate>Sun, 03 May 2026 12:05:39 GMT</pubDate>
			<dc:creator>Gscamps</dc:creator>
			<comments>https://ccl2it-formation.in2p3.fr/index.php/Talk:Tutorial_%E2%80%94_Basic_usage_of_CC-IN2P3</comments>
		</item>
		<item>
			<title>Main Page</title>
			<link>https://ccl2it-formation.in2p3.fr/index.php?title=Main_Page&amp;diff=48&amp;oldid=47</link>
			<guid isPermaLink="false">https://ccl2it-formation.in2p3.fr/index.php?title=Main_Page&amp;diff=48&amp;oldid=47</guid>
			<description>&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 13:59, 3 May 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l46&quot;&gt;Line 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Basic tools]] — Linux, shell, SSH, clusters&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Basic tools]] — Linux, shell, SSH, clusters&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Tutorial — Basic usage of CC-IN2P3]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Version control tools]] — Git et GitLab&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[Version control tools]] — Git et GitLab&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[python]]  &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [[python]]  &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-47:rev-48:php=table --&gt;
&lt;/table&gt;</description>
			<pubDate>Sun, 03 May 2026 11:59:58 GMT</pubDate>
			<dc:creator>Gscamps</dc:creator>
			<comments>https://ccl2it-formation.in2p3.fr/index.php/Talk:Main_Page</comments>
		</item>
</channel></rss>