2013-10-03 50 views
-2
[email protected]:~# mpicxx `pkg-config --cflags meep_openmpi` port12.cpp -o port12 `pkg-config --libs meep_openmpi` 
/usr/lib/libmpich.so: undefined reference to `MPL_trid' 
/usr/lib/libmpich.so: undefined reference to `MPL_trvalid' 
/usr/lib/libmpich.so: undefined reference to `MPL_env2int' 
/usr/lib/libmpich.so: undefined reference to `MPL_trrealloc' 
/usr/lib/libmpich.so: undefined reference to `MPL_trspace' 
/usr/lib/libmpich.so: undefined reference to `MPL_trDebugLevel' 
/usr/lib/libmpich.so: undefined reference to `MPL_TrSetMaxMem' 
/usr/lib/libmpich.so: undefined reference to `MPL_trlevel' 
/usr/lib/libmpich.so: undefined reference to `MPL_trmalloc' 
/usr/lib/libmpich.so: undefined reference to `MPL_putenv' 
/usr/lib/libmpich.so: undefined reference to `MPL_env2bool' 
/usr/lib/libmpich.so: undefined reference to `MPL_env2range' 
/usr/lib/libmpich.so: undefined reference to `MPL_trcalloc' 
/usr/lib/libmpich.so: undefined reference to `MPL_trfree' 
/usr/lib/libmpich.so: undefined reference to `MPL_env2str' 
/usr/lib/libmpich.so: undefined reference to `MPL_trstrdup' 
/usr/lib/libmpich.so: undefined reference to `MPL_trdump' 
/usr/lib/libmpich.so: undefined reference to `MPL_trinit' 

回答

0

看起來你可能會嘗試開放MPI的安裝與MPICH安裝結合下面的錯誤。你需要選擇一個並堅持下去。

相關問題