137 | | 3 different spaces are available for each project : HOMEDIR, WORKDIR, SCRATCHDIR, STOREDIR. More information [Doc/Env/TgccIrene#Filesystem here]. |
| 137 | |
| 138 | You have a main home where you arrive when connecting to irene, called "home de connexion" by the TGCC. You also have a home, a storedir, a workdir, a scratchdir by project. For example if you are working with project gen2201 and gen2212 you will have all following directories: |
| 139 | {{{ |
| 140 | /ccc/cont003/home/***/login # connexion home, where ***=your lab (lsce, ipsl, etc..) |
| 141 | |
| 142 | /ccc/cont003/home/gen2201/login # use it for sources, regular snapshot are in .snapshot |
| 143 | /ccc/cont003/home/gen2212/login |
| 144 | |
| 145 | /ccc/store/cont003/gen2201/login |
| 146 | /ccc/store/cont003/gen2212/login |
| 147 | |
| 148 | /ccc/work/cont003/gen2201/login |
| 149 | /ccc/work/cont003/gen2212/login |
| 150 | |
| 151 | /ccc/scratch/cont003/gen2201/login |
| 152 | /ccc/scratch/cont003/gen2212/login |
| 153 | }}} |
| 154 | |
| 155 | IMPORTANT : Check that you have read and write access to above directories (for your projects). Contact TGCC hotline if it is not the case. |
| 156 | |
| 157 | '''On the SCRATCH space any files that stays 60 days without being read or modified will be purged(deleted), as well as any directory that remains empty for 30 days.''' |
| 158 | |
| 159 | After connexion to irene, load your project environment as default using the module dfldatadir. For example if you will work on the project gen2201, do following (we suggest you to add the command into your .bashrc_irene): |
| 160 | {{{ |
| 161 | module switch dfldatadir dfldatadir/gen2201 |
| 162 | }}} |
| 163 | By changing the dfldatadir, the variables $CCCHOME, $CCCWORKDIR, $CCCSTOREDIR and $CCCSCRATCHDIR point to the corresponding project directories. $HOME is always the main connexion home. |
| 164 | |
| 165 | |
| 166 | You will also have new environment variables to access working directories : |
| 167 | {{{ |
| 168 | GEN2201_ALL_CCCSCRATCHDIR=/ccc/scratch/cont003/gen2201/gen2201 |
| 169 | GEN2201_CCCWORKDIR=/ccc/work/cont003/gen2201/login |
| 170 | GEN2201_ALL_HOME=/ccc/cont003/home/gen2201/gen2201 |
| 171 | GEN2201_CCCSTOREDIR=/ccc/store/cont003/gen2201/login |
| 172 | GEN2201_CCCSCRATCHDIR=/ccc/scratch/cont003/gen2201/login |
| 173 | GEN2201_ALL_CCCWORKDIR=/ccc/work/cont003/gen2201/gen2201 |
| 174 | GEN2201_HOME=/ccc/cont003/home/gen2201/login |
| 175 | GEN2201_ALL_CCCSTOREDIR=/ccc/store/cont003/gen2201/gen2201 |
| 176 | }}} |
| 177 | |
| 178 | [[NoteBox(note, If you previously worked at curie and your directories were in /cont003/dsm/login you will now find your data in a specific new project file system "dsmipsl". We recommend to move your data in your genci project file system. The TGCC hotline can help you if you want. , 600px)]] |
| 179 | |