waker 发表于 2022-6-29 14:52 你的windows系统上安装过intel编译器或者intel mpi吗?如果没安装过,那就不存在注释掉intel信息的问题 |
noraa 发表于 2020-1-20 23:30 你好,我发现我遇到和你一样的问题了,请问一下你的问题解决了吗?另外我是电脑小白,能私信和我说说在window系统下,如何在环境变量设置中注释掉intel的信息吗? |
|
Create two scripts. script_A, for orca. #!/bin/bash ### something to set the proper openMPI and PATH for orca. XXXXXX # command to invoke orca run XXXXXX script_B, for vasp #!/bin/bash ## you may need to set the Intel for VASP XXXXXXX ### you may need to set PATH for vasp ### write code here to invoke vasp run. No need to set openMPI or Intel in your ~/.bashrc file. Create folder_A for orca, copy script_A and your input files to folder_A. Edit script_A if needed. bash script_A & If there is something like PBS, then incorporate script_A to the pbs or slurm script. Same story for your VASP and script_B. Any way, please forgive your Windows logic when you are going to try something on Linux platform. Good luck. |
noraa 发表于 2020-1-20 23:30 用两个用户名跑就行了,两个不同的bashrc |
|
本帖最后由 noraa 于 2020-1-20 23:32 编辑 折腾了很久,自己找到原因了,写在帖子里面供大家参考: 1、我这里出现的错误是因为intermpi和openmpi冲突引起的,在/etc/profile 或者用户的.bashrc中注释掉Intel的相关信息后运行无误。 2、我这里也尝试安装了vasp,用的是社长的方法。这个时候orca和vasp只能运行其中一个,即在环境变量设置中注释掉intel的信息,然后运行orca;添加intel的信息,orca死掉,vasp可以运行。很不爽呀,怎么办呢?运行的vasp的时候source一下就可以了,其他的按照orca的要求来,这样稍微麻烦一点,但是不用频繁的改动.bashrc。保证了需要的时候,可以快速的运行其中一个程序。 3、怎么才能使orca和vasp同时运行呢?不要使用intel的编译器和intelmpi?还是有共存的方法? |
|
运行which openmpi毫无意义,本来就没有叫openmpi的命令 确保openmpi编译正常,并且用的是当前ORCA兼容的版本。说不清楚就上传输出文件 |
手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图
GMT+8, 2026-2-20 12:51 , Processed in 0.181063 second(s), 25 queries , Gzip On.