我正试图在VirtualBox上的ubuntu19.10中编译vasp 6.2.1。我安装了英特尔openApi (有ifortran编译器)和fftw3。我正在尝试使用ifort编译串行版本。但它给了我一个错误,如下。
if [ ! -d build ] ; then mkdir build ; fi
if [ ! -d build/std ] ; then mkdir build/std ; fi
cp src/makefile src/.objects src/makedeps.awk makefile.include build/std
make -C build/std VE
我正在使用一个只能在bash中运行的科学软件(名为vasp),并使用Python创建一个脚本,该脚本将为我多次运行。当我正常地使用subprocess.check_call调用函数时,它工作得很好,但当我添加'| tee tee_output‘时,它就不工作了。
subprocess.check_call('vasp') #this works
subprocess.check_call('vasp | tee tee_output') #this doesn't
我是python和编程的新手。
#!/bin/bash
totT=0
for a in `seq -w 3.5 0.1 4.5`
do
echo "a= $a"
cat >POSCAR <<!
Al FCC
1.0
$a 0.00 0.00
0.00 $a 0.00
0.00 0.00 $a
4
Direct
0.0 0.0 0.0
0.5 0.0 0.5
0.5 0.5 0.0
0.0 0.5 0.5
!
###I want to write a command to submit vasp.sh to PBS queue within the loop. How can I d
下面的文件名为ABCD.vasp
# A B C D
1.000000
13.85640621 0.00000000 0.00000000
4.61880236 13.06394496 0.00000000
0.00000000 0.00000000 45.25483322
A B C D
32 32 32 32
Selective dynamics
Direct
0.00000000 0.00000000
下面的文件名为ABCD.vasp
# A B C D
1.000000
13.85640621 0.00000000 0.00000000
4.61880236 13.06394496 0.00000000
0.00000000 0.00000000 45.25483322
A B C D
32 32 32 32
Selective dynamics
Direct
0.00000000 0.00000000
下面是VASP的代码框架。我的工作是在一个新的平台上移植它。当我使用那个平台的编译器时,我得到了错误。如果我注释掉了use m,并且我还得到了“,它必须有一个指定的显式接口。”,我只想做一个最小的修改,以避免在程序的其他部分产生错误。
module m
interface
subroutine a
end subroutine
end interface
interface
subroutine b
end subroutine
end interface
end module
subroutine a
use m
call b
end subroutine
我使用Visual Studio .NET开发了一个名为X_Component的组件,并计划开发几个使用X_Component的客户端应用程序。我需要将X_Component与这些应用程序一起部署。
我想创建一个包含在每个应用程序中的分发包。应该创建哪种类型的项目(CAB/merge模块/setup/Web setup/...)为什么会这样呢?
去年一切正常,但几天前我试着运行程序时,出现了一个恼人的错误:"chromedriver.exe已停止工作“。例外说:OpenQA.Selenium.WebDriverException: 'A exception with a null response was thrown sending an HTTP request to the remote WebDriver server for URL http://localhost:59589/session/53a8deb4fccfe20b9b1636e3577a4eff/elements. The status of t