Maria Lehtivaara
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # CSC Computing environment Q&A session 26.4.2022 ###### tags: `puhti` `mahti` `allas` > This is the common "notebook" for the CSC Computing Services Q&A session" webinar organised in April 2022 at CSC -IT center for Science. [Course page in e-Lena platform](https://e-learn.csc.fi/course/view.php?id=76) > :::danger This is the place to ask questions about the workshop content! We use the Zoom chat only for posting links, reporting Zoom problems and such. ::: :::info :bulb: **Hint:** HackMD is great for sharing information in this kind of courses, as the code formatting is nice & easy with MarkDown! Just add 3 ticks (``` ` ```) for the``` code blocks ```. Otherwise, it's like a Google doc: it allows simultaneous editing. ::: [ToC] ## Code of conduct We strive to follow the [Code of Conduct developed by The Carpentries organisation](https://docs.carpentries.org/topic_folders/policies/code-of-conduct.html) to foster a welcoming environment for everyone. In short: - Use welcoming and inclusive language - Be respectful of different viewpoints and experiences - Gracefully accept constructive criticism - Focus on what is best for the community - Show courtesy and respect towards other community members --- ## TO DO before the course - Please make sure you have a CSC user account, project with Puhti and Allas as services, and have accepted the terms of use for Puhti and Allas in my.cs ## :memo: Q & A You can type your questions here. We will answer them, and this document will store the answers for you for later use! :rocket: ### General and practical matters - [x] **Q1: I have difficulty pasting my questions into HackMD (here). Do you have some instructions on how to write here?** - A: Can you see these three icons on top left corner, next to HackMD text? There’s pencil, this side-by-side symbol, and an eye. In eye view, you can’t edit, you are just viewing. The other two reveal the markdown (MD) version of the page, which you can edit. I find it easiest to edit with the side-by-side view. :::info :bulb: **Hint:** You can also apply styling from the toolbar at the top :arrow_upper_left: of the editing area.![](https://i.imgur.com/Cnle9f9.png) ::: - [x] **Q2: I cannot access most of the slides from the course page. These are marked with an earth logo.** - A: Try to use the arrow keys or space bar to switch the slide! - [x] **Q5: Do we get ECTS credits from this course for our university transcripts?** - A: After you have completed the course including all the quizzes, you can download a certificate where we recommend 1 credit for this course. We are not allowed to give credits, but we can recommend them, and by taking the certificate to your university, they usually accept :) - [x] **Q6: Should I get my "own" project for the course, can't I just use a project you provide?** - A: The course project will be available only during the course, and before and after that you need to do the exercises on your own projects anyway :) Also, we wish you to help you get past this first obstacle of setting up everything in the beginning! So yeah, better get your own project! - [x] **Q7: So many credendials... Which ones do I need and where?!?** - A: You need CSC credentials to login to Puhti, whereas for my.csc.fi and e-Lena you can nowadays login also with Haka credentials (=your university credentials). In my.csc.fi you can check the CSC username. If you have forgotten your password, check this link: https://docs.csc.fi/accounts/how-to-change-password/ -Note that it takes some time for the password to update to Puhti, if you need to change that :) - [x] **Q: How long are the course materials available online? Tutorials, slides etc.?** - Tutorials and slides will be there indefinitely (https://a3s.fi/CSC_training/README.html and https://csc-training.github.io/csc-env-eff/). Access to elearn (and the quizzes there) may discontinue. The main material will thus be available. - [ ] **Q: To whom (what level student) should the CSC services be recommended?** - Well, the level is not so critical but the need. Already now it's possible to set up an account for yourself (as a teacher/lecturer) and ask for training accounts for the participants (available for the duration of the course). To access the supercomputers the participant needs to be a member of a CSC project and setting up a project needs a Project manager with some requirements (a bit longer term position in a University). If you're interested send email to servicedesk@csc.fi. A new setup is also in the pipeline to enable "student accounts" which don't need a "supervisor" which will make this easier. - [ ] **Q: Tykky container service. How to install python / local packages?** - https://docs.csc.fi/apps/python/#tykky - https://docs.csc.fi/computing/containers/tykky/ - [x] **Q: I registered as a student but I can't found COMSOL multiphysics software. are available softwares are limited for student?** - No such limit. Where did you look for comsol? How? - [ ] **Q: How to access huge data (very big! :) from ALLAS to work with Matlab from cPouta? Are there examples online (I couldn't find them)?** - It's possible to mount Allas to cPouta, but not sure if it would more wise to copy the data locally and work with that. This is a good use case! We are looking for documentation! https://docs.csc.fi/data/moving/disk_mount/ - https://docs.csc.fi/support/faq/how-to-mount-os-bucket-for-cpouta/#configuring-and-using-allas-ubuntu-and-centos - [ ] **Q: Hi, I have a basic question. I used to get email notif when my batch job status is failed. But now I only get notified when it successfully ran. Is there some changes in csc with this?** ``` #!/bin/bash #SBATCH --job-name=Jacque #SBATCH --account=project_2000967 #SBATCH --time=06:00:00 #SBATCH --ntasks=1 #SBATCH --nodes=1 #SBATCH --output=Jacque #SBATCH --error=Jacque-err #SBATCH --mem=64G #SBATCH --partition=small #SBATCH --gres=nvme:300 #SBATCH --cpus-per-task=8 #SBATCH --mail-type=END #SBATCH --mail-user=jacqueline.malazarte@oulu.fi ``` - Great! You're asking `--mail-type=END` i.e. send email when the job ends. If you want mail also when it starts --> `--mail-type=BEGIN,END`. If you also want notification when job fails, also specify `FAIL` --> `--mail-type=BEGIN,END,FAIL` - [ ] **Q: I am trying to run a batch job, basically doing a diamond blast to one database (non-redundant, nr). Previously I do it with swiss-prot, which took around 16min/sample and between 8-10G of memory. But with nr database the job is cancelled after 10h because exceeds the maximum memory (16G), which cannot be increased. I checked and any output file of the 40 desired was created before the job was cancelled. How can I run the job? How can I by-pass the memory limitation? I send this question by email hpcplatforms #538239** ``` #!/bin/bash #SBATCH --job-name=myTestdiamond2 #SBATCH --account=project_2005233 #SBATCH -o output_%j.txt #SBATCH -e errors_%j.txt #SBATCH --time=15:00:00 #SBATCH --mem-per-cpu=16G #SBATCH --partition=small ##SBATCH --mail-type=BEGIN #uncomment to enable mail ``` - Try sinfo command to learn about partitions, and about max mem - Check chapters 5 and 6 from the self-learning course, there we are talking about this! It's a common difficulty! - A good tutorial, where the memory runs out, and how to figure that out: https://csc-training.github.io/csc-env-eff/hands-on/batch_resources/tutorial_sacct_and_seff.html - How much memory is available? List of Puhti's partitions (queues) https://docs.csc.fi/computing/running/batch-job-partitions/ - Try: ```#SBATCH --mem-per-cpu=32G``` - Don't use max mem, if you don't need that much -the "why" for this is explained in the training material - [ ] **Q: Does the '#SBATCH --time' starts when the job starts or when you submit the batch job?** - When the job actually starts. So that's the limit of the actual time of running the job, not the queuing time - [ ] **Q:** Action points: - add a quiz/FAQ for how much memory I can ask / is available? -

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully