netcdfライブラリのインストール - プロセッサが許可されていませんエラー

netcdfライブラリのインストール - プロセッサが許可されていませんエラー

特定の状況でシミュレーションを実行できるようにmcmodel = largeでコンパイルする必要があるため、netcdfライブラリ(v3.6.3)をインストールしようとします(シミュレーションはifortを使用し、現在の「再配置に合わせて切り捨て」エラーが発生します)。 netcdf関数。

以下に公開した方法は以前のコンピュータでは正常に動作しましたが、別のコンピュータ(Red Hat、CentOSバージョン6.5を使用)を使用しているため、エラーメッセージが表示されます。

基本的に私は次のことをしました。

export CC=icc 
export CXX=icpc 
export CFLAGS='-O1 -xT -ip -no-prec-div -mcmodel=large -shared-intel -traceback -static-intel' 
export CXXFLAGS='-O1 -xT -ip -no-prec-div -mcmodel=large -shared-intel -traceback -static-intel' 
export F77=ifort 
export FC=ifort
export F90=ifort
export FFLAGS='-O1 -xT -ip -no-prec-div -mcmodel=large -shared-intel -traceback -static-intel' 
export CPP='icc -E' 
export CXXCPP='icpc -E'

cd netcdf-3.6.3

./configure --enable-large-file-tests --prefix=my_path_to_netcdf --disable-cxx
make check

その後、次のような出力が得られます(最後の数行だけコピーされましたが、エラーがあります)。

*** Creating fills.nc.
*** SUCCESS!
PASS: create_fills.sh

Fatal Error: This program was not built to run on the processor in your system.
The allowed processors are: Intel(R) Core(TM) Duo processors and compatible Intel processors with supplemental Streaming SIMD Extensions 3 (SSSE3) instruction support.

FAIL: nf_test

Fatal Error: This program was not built to run on the processor in your system.
The allowed processors are: Intel(R) Core(TM) Duo processors and compatible Intel processors with supplemental Streaming SIMD Extensions 3 (SSSE3) instruction support.

FAIL: tst_f77_v2

Fatal Error: This program was not built to run on the processor in your system.
The allowed processors are: Intel(R) Core(TM) Duo processors and compatible Intel processors with supplemental Streaming SIMD Extensions 3 (SSSE3) instruction support.

FAIL: ftest
 *** Testing netCDF-3 Fortran 90 API.
 *** SUCCESS!
PASS: tst_f90
=========================================
3 of 5 tests failed
Please report to [email protected]
=========================================

-xTを別のオプション(-xsse、-xsse2、-xssse3)に置き換えようとしましたが、役に立ちませんでした。使用可能なフラグは次のとおりです。

awk '/model name|flags/' /proc/cpuinfo | head -2

flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nonstop_tsc extd_apicid amd_dcm aperfmperf pni pclmulqdq monitor ssse3 fma cx16 sse4_1 sse4_2 popcnt aes xsave avx f16c lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 tce nodeid_msr tbm topoext perfctr_core cpb npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold bmi1

誰でも指示を提供できますか?私は私がコンピュータで何をしているのか分からなかった。新しいコンピュータにはAMDプロセッサがあり、古いコンピュータにはIntelプロセッサがあるのが問題かもしれません。

とても感謝しています、

リアム

ベストアンサー1

おすすめ記事