Platform

Platform

Topics relate to optiSLang, HPC, DesignXplorer, Cloud and more

Failed to validate credentials in RSM

    • c.bruno
      Subscriber

      Hello everyone,

      I am trying to configure RSM but I keep receiving this error when trying to log in:

      Does anyone know why this is happening and how to solve it?

      Thank you!

       

      These are the settings I'm using:

    • MangeshANSYS
      Ansys Employee

      Please refer "firewall issues" at

      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/wb_rsm/rsm_trouble_rsm.html

    • c.bruno
      Subscriber

      Thank you Mangesh, I think the problem is that I cannot add the port to the Exception List on the cluster machine - I will try to fix this with the IT support at my university.

      In the meantime, do you think is possible to run a script for Optislang on the HPC that will call and solve my simulations in the Workbench?

      This is how my system looks like and I would like to run the DOE simulations of the Sensitivity block on the HPC cluster.

    • MangeshANSYS
      Ansys Employee

      Hello,

      If you have ssh access, you can try this 
      https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/wb_rsm/rsm_native_config.html

      • c.bruno
        Subscriber

         

        Thank you for your answer.

        I have tried to connect throught the SSH but when I test a queue it does not seem to work, RSM seems to be stuck on uploading files. I checked the HPC and there aren’t file uploaded or any tests running. Does the RSM produce any log file?

        When I log in to the HPC using putty everythings works fine.

         

    • MangeshANSYS
      Ansys Employee

       

      is putty installed and in the path ? 

      all th e steps in the topic below need to be followed. was the initial test command shown at the end of that section successful ?

      5.1.2. Configuring PuTTY SSH

      what is the error message seen in RSM job monitor ?

    • c.bruno
      Subscriber

      Yes Putty is installed and I believe is in the right path.

      The test seems successful:

      On the RSM I don't get any message

       

    • MangeshANSYS
      Ansys Employee

      that is odd, can you please post new screenshots of RSM configuration (redact as necessary, but leave all checkboxes and drop down selections visible on both  tabs, configuration & file management )

    • c.bruno
      Subscriber

      This is the new configuration:

      Thank you!!

    • MangeshANSYS
      Ansys Employee

      does the folder /home//scratch/test exist ? if not then please create it and ensure the user is able to write to that folder.

      if you go to queues tab and refresh, then what happens, do you see list of the grid engine queues (parallel environments) ?

       

      from windows command prompt are you able to run
      plink -i %KEYPATH% user@remote_linux qstat

    • c.bruno
      Subscriber

      The folder exists and it's under my username so I should be able to write on it.

      I refreshed the queues tab but nothing changed, it's still uploading files.

      Also I tried to used the RSM cluster monitoring but it's not updating at all when I do refresh.

      AFter running that line, I get the same answer as before and if I press enter nothing happens, I am not sure if it's normal?

      Thank you very much

    • MangeshANSYS
      Ansys Employee

      looks like qstat is not in your path ?

      try running 
      plink -i %KEYPATH% user@remote_linux which qstat

      or perhaps

      plink -i %KEYPATH% user@remote_linux "which qstat"

       

    • c.bruno
      Subscriber

      This is what I got:

    • MangeshANSYS
      Ansys Employee

      try
      qstat -f
      at the end ?

       

      • c.bruno
        Subscriber

        Hi Mangesh,

        together with the IT team of my university we tried to solve this problem with the RSM but unfortunately we didn't manage.

        We followed all the instructions on the user guide to connect via SSH and we also check that everything is ok on the cluster computer but we still don't know what is going wrong. Is there a way to get a log file from the RSM or knowing what is it doing when it's stucked on uploading test files?

        Thank you 

        • MangeshANSYS
          Ansys Employee

          Hello,

          Please check the Software Guides for Ansys when using the cluster in question. Perhaps is is necessary to load a module so Ansys becomes available in yoru user login before you can run Ansys ?

          you can try adding the relevant module load command to your .bashrc file or to this file /ansys_inc/v231/Config/tools/linux/rsm_env_profile

           

        • c.bruno
          Subscriber

          We went through the Ansys RSM guide and we have indeed added the module to the .bashrc on my user login, is this enough?  

        • MangeshANSYS
          Ansys Employee

          Putty SSH method: Linux OS can be configured to process batch login differently from interactive login. if you log in interactively and the rc file is processed, then it is not necessary that the rc file is also getting processed for batch logins

          RSM Launcher method: Os configuration can similarly be processing batch login differently here

          for rsm_env_profile please see https://ansyshelp.ansys.com/account/secured?returnurl=/Views/Secured/corp/v232/en/wb_rsm/wb_rsm_setup_linux.html

    • c.bruno
      Subscriber

      I tried and I got a huge list of nodes on the cluster, this is a part of it

Viewing 13 reply threads
  • The topic ‘Failed to validate credentials in RSM’ is closed to new replies.