Build NetCDF For C,C++,Fortran interface with intel comilers - XiZi's Blog

Build NetCDF For C,C++,Fortran interface with intel comilers

Xizi posted @ 2013年4月18日 02:47 in 未分类 with tags fortran Intel FVCOM NetCDF Intel Fortran , 2484 阅读

由于版本的变化,导致了NetCDF的一些变化。因此,此过程仅适用于NetCDF的版本为4.1.3(估计适用于3.6.3-4.1.3),但不适用于后来的4.2版本。

1、解压源程序包,修改configure文件

--- netcdf-4.1.3/configure      2011-07-01 07:22:45.000000000 +0800
+++ netcdf-4.1.3n/configure     2013-04-19 05:39:43.029982048 +0800
@@ -24472,7 +24472,7 @@
               call sub()
               end
 EOF
-           doit='$FC -c ${FFLAGS} conftest.f'
+           doit='$FC -c conftest.f'
            if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$doit\""; } >&5
   (eval $doit) 2>&5
   ac_status=$?

2、configure and install

./configure --disable-netcdf-4 --disable-dap --prefix=/opt/netcdf \
CPP='icc -E' CXXCPP='icpc -E' CC=icc CXX=icpc FC=ifort F90=ifort F77=ifort \
CFLAGS="-fast -w" CXXFLAGS="-fast -w" FFLAGS="-fast -w" LD=ifort \
LFLAGS="-fast -w" AR=xiar CPPFLAGS='-DNDEBUG -DINTEL_COMPILER' 
make install

PS: 如果在Centos下configure失败,请安装依赖库。

yum install glibc-devel glibc-headers glibc-static
Avatar_small
冷水 说:
2013年4月18日 17:09

请问,netcdf支持多大文件?

Avatar_small
seo 说:
2021年12月04日 00:56 I am in need of sturdy closet doors for my renovation with a cheap price. A lot of people were recommending this site to me and seeing their portfolio, I am really convinced to work with them. Mind checking https://caldwells.com/interior-doors/flush-doors link out and sharing your thoughts about them?
Avatar_small
JACK 说:
2022年6月24日 22:00

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. click site

Avatar_small
net worth 说:
2022年7月08日 02:06

Do you know who is now the richest person in the world? Find out more about the top 100 wealthiest person with idol net worth

Avatar_small
dark web/deep web/d 说:
2022年8月20日 23:56

Check for testimonials or reviews from satisfied customers and do some background research on the company to make sure there aren't any shady dealings going on. dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 01:44

There are plenty of legitimate opportunities out there, but just like anything else, if you don't know what you're doing, better to stay away. deep web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:05

However, the truth is that there is no such thing as easy ways of making money on the Internet. And one should be very careful when choosing a program to join in order not to get scammed and lose their hard-earned money. dark web sites

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:31

In most cases, if you join a free link directory, then you can expect a free directory to provide you links.  dark web links

Avatar_small
dark web/deep web/d 说:
2022年8月21日 02:49

This will also reduce the chances of getting more visitors to your website. You can always look for link brokers and make use of their services but if you do it by yourself, you may not be able to maintain the quality of links. dark web

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:06

In order to learn how to succeed with affiliate marketing, you should understand that because many businesses have this type of program, you should join one that offers a commission based on your sales. work from home jobs

Avatar_small
dark web/deep web/d 说:
2022年8月21日 03:24

In most cases, you will also be given access to the site's database of sellers and manufacturers. By using this resource, you will be able to locate sellers of products and services offering the products or services you have selected.  affiliate marketing success

Avatar_small
HASNA 说:
2022年8月28日 23:00

Nice post. I find out something more difficult on distinct blogs everyday. It will always be stimulating you just read content using their company writers and use a little from their site. I’d would rather use some while using the content in my blog regardless of whether you don’t mind. Natually I’ll provide you with a link in your web blog. Many thanks sharing. alongnovember.com

Avatar_small
rehman 说:
2022年9月05日 04:52

I want many of the reviews, Choose truly loved, We would like addiitional info over it, since it is actually fairly superb., Relation simply for saying. billharrell.com

Avatar_small
sghsesf 说:
2022年9月07日 04:39

Excellent read, I recently passed this onto a colleague who has been performing a little research on that. And the man actually bought me lunch because I came across it for him smile So allow me to rephrase that: Appreciate your lunch! outgoing7meal.com

Avatar_small
jack 说:
2022年9月21日 02:51

Getting out of a timeshare contract can be a complicated process that requires time, effort, and patience. The good news is that you don't have to go through ... How to Get Out of a Capital Vacations Timeshare

Avatar_small
Denk 说:
2022年9月21日 12:57

Great post, and great website. Thanks for the information! Papa Johns Pizza Discount Codes


登录 *


loading captcha image...
(输入验证码)
or Ctrl+Enter
Host by is-Programmer.com | Power by Chito 1.3.3 beta | © 2007 LinuxGem | Design by Matthew "Agent Spork" McGee