LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-22-2014, 07:55 AM   #1
JackFrost22901
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Rep: Reputation: Disabled
Trouble installing netcdf


Hi all,

I'm trying to install netcdf libraries (v3.6.3), as I need them to be compiled with mcmodel=large to allow a simulation to run (simulation uses ifort, and currently gives 'relocation truncated to fit' errors ).

Now the method I post below used to work fine on my old computer, but now I'm on a different computer (using Red Hat, CentOS release 6.5 (Final)) I get error messages.

Basically I do the following:

Code:
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
And then I get the following output (only copied in the last few lines with errors):
Code:
*** 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 support@unidata.ucar.edu
=========================================
I have tried replacing the -xT with other options (-xsse, -xsse2, -xssse3) but to no avail. The available flags are:

Code:
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
Can anyone offer any guidance? I really don't know what I'm doing with computers, so it's perhaps a surprise that I got it to work on my old computer at all!

Many thanks,

Liam
 
Old 10-22-2014, 11:16 AM   #2
JackFrost22901
LQ Newbie
 
Registered: Oct 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
I think the error lies in the fact that my old computer used Intel processors, while my new one uses AMD. Still not sure how I go about fixing it, or what specifically is the problem.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install netcdf pppaaarrrkkk Linux - Software 1 08-18-2014 01:44 PM
netcdf 4.2 installation shrikantmp Linux - Newbie 1 08-03-2013 02:42 AM
netcdf-4.2.1.1 and netcdf-fortran-4.2 installation john.r.anderson3 Linux - Software 1 12-13-2012 07:37 AM
netcdf deepshikha Linux - Server 1 06-08-2007 07:18 AM
C compiler cannot create execultables ,when I installing netcdf program. cerzza Linux - Desktop 2 11-17-2006 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration