Skip to content

Instantly share code, notes, and snippets.

@NK-Nikunj
Last active March 30, 2020 22:55
Show Gist options
  • Save NK-Nikunj/91ed931272c475eaee955408d5c510c6 to your computer and use it in GitHub Desktop.
Save NK-Nikunj/91ed931272c475eaee955408d5c510c6 to your computer and use it in GitHub Desktop.
gupta2@juawei:~/test_codes$ cat hello_world.cpp
#include <iostream>
int main()
{
std::cout << "hello world\n";
}
gupta2@juawei:~/test_codes$ srun -N 1 -p x86-normal ./hello_world
srun: error: task 0 launch failed: Invalid MPI plugin name
gupta2@juawei:~$ salloc -N 1 -p x86-normal -q interactive -t 1:00:00
salloc: Granted job allocation 9614
Unloading all modules
New $SOFTWAREROOT: /opt/ohpc/pub/easybuild/software/juaweixeon
New $LMOD_SYSTEM_NAME: juaweixeon
New $ARCHITECTURE: Haswell
Re-setting $MODULEPATH to:
/opt/ohpc/pub/easybuild/software/juaweixeon/Stages/2019b/UI/Compilers:/opt/ohpc/pub/easybuild/software/juaweixeon/Stages/2019b/UI/Tools:/opt/ohpc/pub/easybuild/modules/system
Was:
/opt/ohpc/pub/easybuild/software/juaweixeon/Stages/2019b/UI/Compilers:/opt/ohpc/pub/easybuild/software/juaweixeon/Stages/2019b/UI/Tools:/opt/ohpc/pub/easybuild/modules/system
WARNING: Unloading this module might result in a broken environment. Please swap the module to use the desired architecture instead.
Switched to EasyBuild-based software-stack
gupta2@juawei:~$ srun lscpu
srun: error: task 0 launch failed: Invalid MPI plugin name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment