Fluent 并行计算-- Parallel Fluent

标签:
杂谈 |
今天计算fluent
发现只有1个cpu在工作。google 了一下发现需要 fluent并行计算才行。
$ ./fluent 3d -t2
这样会出错!!
http://farm5.static.flickr.com/4062/4484109772_63b16ca6f6_o.png并行计算--Parallel Fluent" TITLE="Fluent 并行计算-- Parallel Fluent" />
Host spawning Node 0 on machine "tt-laptop" (unix).
/opt/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 3d -node -t2 -pethernet -mpi=hp -mport 127.0.1.1:127.0.1.1:38841:0
Starting /opt/Fluent.Inc/fluent6.3.26/multiport/mpi/lnx86/hp/bin/mpirun -np 2 /opt/Fluent.Inc/fluent6.3.26/lnx86/3d_node/fluent_mpi.6.3.26 node -mpiw hp -pic ethernet -mport 127.0.1.1:127.0.1.1:38841:0
ssh: connect to host 127.0.1.1 port 22: Connection refused
mpirun: Warning one more more remote shell commands exited with non-zero status, which may indicate a remote access problem.
应该这样设定参数
./fluent 3d -driver x11 -t2 -ssh -cnf=127.0.0.1
这样就可以了。。
有图有真相。。
http://farm5.static.flickr.com/4015/4484109840_d9c7a8f712_o.png并行计算--Parallel Fluent" TITLE="Fluent 并行计算-- Parallel Fluent" />
有图有真相
http://farm3.static.flickr.com/2682/4483540977_b3711289e5_o.png并行计算--Parallel Fluent" TITLE="Fluent 并行计算-- Parallel Fluent" />
至于集群。目前还没有机会去尝试。。应该是改个ip就可以了。。
./fluent 3d -driver x11 -t2 -pnet -cnf=127.0.0.1
$ ./fluent 3d -t2
这样会出错!!
http://farm5.static.flickr.com/4062/4484109772_63b16ca6f6_o.png并行计算--
Host spawning Node 0 on machine "tt-laptop" (unix).
/opt/Fluent.Inc/fluent6.3.26/bin/fluent -r6.3.26 3d -node -t2 -pethernet -mpi=hp -mport 127.0.1.1:127.0.1.1:38841:0
Starting /opt/Fluent.Inc/fluent6.3.26/multiport/mpi/lnx86/hp/bin/mpirun -np 2 /opt/Fluent.Inc/fluent6.3.26/lnx86/3d_node/fluent_mpi.6.3.26 node -mpiw hp -pic ethernet -mport 127.0.1.1:127.0.1.1:38841:0
ssh: connect to host 127.0.1.1 port 22: Connection refused
mpirun: Warning one more more remote shell commands exited with non-zero status, which may indicate a remote access problem.
应该这样设定参数
./fluent 3d -driver x11 -t2 -ssh -cnf=127.0.0.1
这样就可以了。。
有图有真相。。
http://farm5.static.flickr.com/4015/4484109840_d9c7a8f712_o.png并行计算--
有图有真相
http://farm3.static.flickr.com/2682/4483540977_b3711289e5_o.png并行计算--
至于集群。目前还没有机会去尝试。。应该是改个ip就可以了。。
./fluent 3d -driver x11 -t2 -pnet -cnf=127.0.0.1