Mount MareNostrum folders: Difference between revisions
Jump to navigation
Jump to search
New page: 1. install sshfs : sudo apt-get install sshfs 2. create the folder to mount marenostum: mkdir ~/marenostrum 3. Add these two lines in your .bashrc file. alias mmare="sshfs iciq23762@dl... |
No edit summary |
||
| (15 intermediate revisions by 4 users not shown) | |||
| Line 1: | Line 1: | ||
go back to [[Main Page]], [[Computational Resources]], [[Núria López and Group]], [[Scripts]], [[Scripts for VASP]], [[VASP]] | |||
You can mount your remote MareNostrum folders and work with them as if they were in your hard-drive, just as you do with your teklahome. | |||
* Install sshfs: | |||
$ sudo apt install sshfs | |||
* Create the folders where you will mount MareNostrum: | |||
$ mkdir ~/marenostrum-home ~/marenostrum-scratch ~/marenostrum-projects | |||
* Add these lines in your .bashrc file, where iciq72XXX is your group(iciq72)+user(XXX) id. | |||
# MareNostrum aliases: | |||
alias mn-mount="sshfs iciq72XXX@dl01.bsc.es: ~/marenostrum-home/ ; sshfs iciq72XXX@dl01.bsc.es:/gpfs/scratch/iciq72/iciq72XXX ~/marenostrum-scratch/ ; sshfs iciq72XXX@dt01.bsc.es:/gpfs/projects/iciq72 ~/marenostrum-projects " | |||
alias mn-umount="sudo umount -l ~/marenostrum-home ~/marenostrum-scratch ~/marenostrum-projects" | |||
* Source the .bashrc file: | |||
$ . ~/.bashrc | |||
* To mount your MareNostrum folders, type: | |||
$ mn-mount | |||
* To umount: | |||
$ mn-umount | |||
Latest revision as of 17:52, 24 February 2020
go back to Main Page, Computational Resources, Núria López and Group, Scripts, Scripts for VASP, VASP
You can mount your remote MareNostrum folders and work with them as if they were in your hard-drive, just as you do with your teklahome.
- Install sshfs:
$ sudo apt install sshfs
- Create the folders where you will mount MareNostrum:
$ mkdir ~/marenostrum-home ~/marenostrum-scratch ~/marenostrum-projects
- Add these lines in your .bashrc file, where iciq72XXX is your group(iciq72)+user(XXX) id.
# MareNostrum aliases: alias mn-mount="sshfs iciq72XXX@dl01.bsc.es: ~/marenostrum-home/ ; sshfs iciq72XXX@dl01.bsc.es:/gpfs/scratch/iciq72/iciq72XXX ~/marenostrum-scratch/ ; sshfs iciq72XXX@dt01.bsc.es:/gpfs/projects/iciq72 ~/marenostrum-projects " alias mn-umount="sudo umount -l ~/marenostrum-home ~/marenostrum-scratch ~/marenostrum-projects"
- Source the .bashrc file:
$ . ~/.bashrc
- To mount your MareNostrum folders, type:
$ mn-mount
- To umount:
$ mn-umount