# Ioapi installtion unable

**URL:** https://forum.cmascenter.org/t/ioapi-installtion-unable/805
**Category:** I/O API
**Created:** [July 10, 2019, 11:33am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805 "2019-07-10T11:33:37Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 10, 2019, 11:33am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/1 "2019-07-10T11:33:38Z")

</div>

Hello Team,  
am trying ti install IOAPI3.1  
we untar the file and tried to run the file.

 ![1](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/fb9a30b95cbd1975c33479d56e22516df24b2b15.png) ![2](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/1X/f38b53bd841eb37fb9e640aef98f63306991b057.png)

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 10, 2019, 11:34am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/2 "2019-07-10T11:34:46Z")

</div>

could anyone help to fix the error

---

<div class="post-metadata">

### Author: ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)
#### Post date: [July 10, 2019, 12:42pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/3 "2019-07-10T12:42:35Z")

</div>

Perhaps follow the installation instructions,  
[https://www.cmascenter.org/ioapi/documentation/all\_versions/html/AVAIL.html#build](https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html#build)

Also note that 3.2 is the current version; 3.1 is in maintenance-only mode.

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 10, 2019, 1:04pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/4 "2019-07-10T13:04:43Z")

</div>

Could you lease guide, where start and why this error is

---

<div class="post-metadata">

### Author: ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)
#### Post date: [July 10, 2019, 1:28pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/5 "2019-07-10T13:28:14Z")

</div>

@Akhila. The link Carlie sent you is the user’s guide. Please check the guide and follow the instruction. There is a specific instruction how to install it on your server. If you run into an error, then let us know.

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 15, 2019, 10:56am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/6 "2019-07-15T10:56:12Z")

</div>

Hello Team,

During the installation process in step three am curious to understand whether we need to create a directory named BIN na d the copy the files under the folder LIB.

Am using netcdf -c 4.7 netcdf -cxx4-4.3.0 and netcdf-fortran 4.4.5.

Also the libraries

hdf5-1.8.21

and Zlib-1.2.11.

So did you meam that i have to create a directory BIN (“AM NOT SURE ABOUT THE LOCATION, whether it is in ioapi-3.1 the main folder.”

and then copyibg the LIB files (which LIB files-- if could you specify … because m able to find a lot of files that start with the file name LIB)

also if i create the file BIN,

where should i link it to.

Am curious to know,

what so far i have done is that, created a copy of all makefiles.

Could you have immediate response because the software installtion seems to be little confusing .

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 15, 2019, 11:09am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/7 "2019-07-15T11:09:26Z")

</div>

Hello Team,

Would like to mention that am unable to locate the file lib/libhdf5\*.a  
in hdf5\*.a inorder to copy it to BIN from hdf5-1.8.21.

could you guide please in order to figure out the this out quickly.

Thanks in advance,

Akhila Thomas

---

<div class="post-metadata">

### Author: ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)
#### Post date: [July 15, 2019, 11:30am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/8 "2019-07-15T11:30:29Z")

</div>

If you would follow the instructions, and configure/build netCDF using the recommended

`--disable-netcdf4 --disable-dap`  
flags, then you would not need to worry about libhdf5, etc. Or else (assuming you got them as part of your installation) ask your vencor’s software-installation utility where to find them – that utility be different on Debian or Ubuntu from RedHat or Fedora (and different from version to version) or from SuSE.

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 15, 2019, 12:35pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/9 "2019-07-15T12:35:32Z")

</div>

Hello Team,

i have enabled dap,

am curious to know what are the files that i have to copy to BIN

O what should the variable LIBINST AND BININST be set to.

thanks in advance,

Akhila thomas

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 15, 2019, 12:37pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/10 "2019-07-15T12:37:56Z")

</div>

Hello Team,

i have enabled dap and also enabled netcdf4,

am curious to know what are the files that i have to copy to BIN

O what should the variable LIBINST AND BININST be set to.

thanks in advance,

Akhila thomas

---

<div class="post-metadata">

### Author: ![esm](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@esm](https://forum.cmascenter.org/u/esm)
#### Post date: [July 16, 2019, 7:04pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/11 "2019-07-16T19:04:19Z")

</div>

I want to install ioapi, but it give me this error:

Makefile:208: recipe for target ‘airs2m3’ failed  
make[1]: \*\*\* [airs2m3] Error 1  
make[1]: Leaving directory ‘/home/ensiyeh/Build\_WRF/LIBRARIES/ioapi-3.2/m3tools’  
Makefile:198: recipe for target ‘all’ failed  
make: \*\*\* [all] Error 2

Could you help me,please?

---

<div class="post-metadata">

### Author: ![Akhila](https://avatars.discourse-cdn.com/v4/letter/a/43a26b/32.png) [@Akhila](https://forum.cmascenter.org/u/Akhila)
#### Post date: [July 17, 2019, 10:20am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/12 "2019-07-17T10:20:56Z")

</div>

Hello Team,

Can i know whether which files do i need to copy or create a link to the folder BIN.

[http://blog.sina.com.cn/s/blog\_905660420102wd27.html](http://blog.sina.com.cn/s/blog_905660420102wd27.html)

[https://alei817927.gitbooks.io/guild-book/tech/compile\_and\_install.html](https://alei817927.gitbooks.io/guild-book/tech/compile_and_install.html)

[http://www.voidcn.com/article/p-mogmiwfj-bea.html](http://www.voidcn.com/article/p-mogmiwfj-bea.html)

Along with [https://www.cmascenter.org/ioapi/documentation/all\_versions/html/AVAIL.html](https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html)

The interesting fact is that the name of the files seems different .

Am using netcdf -c 4.7 netcdf -cxx4-4.3.0 and netcdf-fortran 4.4.5.

Also the libraries

hdf5-1.8.21

and Zlib-1.2.11.

could you please guide the files that must be copied to BIN.

In the document it is said that the file ‘lib’ should be linked , but am curious to know which are all the files in it.

Itz been a file that am behind the installation.

But i have strong confidence that i will succeed on day.

Thanks in advance,

Akhila Thomas

---

<div class="post-metadata">

### Author: ![esm](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@esm](https://forum.cmascenter.org/u/esm)
#### Post date: [August 1, 2019, 11:10pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/13 "2019-08-01T23:10:14Z")

</div>

Hi

I want to install IOAPI-3.1. I don’t have any errors in make configure and make, but in make install it gives an error.

Makefile:194: warning: overriding recipe for target ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort’  
Makefile:191: warning: ignoring old recipe for target ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort’  
Makefile:197: warning: overriding recipe for target ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort’  
Makefile:194: warning: ignoring old recipe for target ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort’  
echo “Installing I/O API and M3TOOLS in /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort and /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort”  
Installing I/O API and M3TOOLS in /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort and /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort  
(cd /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/ioapi ; make install)  
make[1]: Entering directory ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/ioapi’  
echo “Installing in /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort” ; cd /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort; cp libioapi.a /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort  
Installing in /home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort  
cp: ‘libioapi.a’ and ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/Linux2\_x86\_64ifort/libioapi.a’ are the same file  
Makefile:183: recipe for target ‘install’ failed  
make[1]: \*\*\* [install] Error 1  
make[1]: Leaving directory ‘/home/ensiyeh/LIBRARIES/ioapi/ioapi-3.1/ioapi’  
Makefile:164: recipe for target ‘install’ failed  
make: \*\*\* [install] Error 2  
Could you guide me,please?

---

<div class="post-metadata">

### Author: ![esm](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@esm](https://forum.cmascenter.org/u/esm)
#### Post date: [August 1, 2019, 11:49pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/14 "2019-08-01T23:49:56Z")

</div>

Could we use make install in installing ioapi-3.1?

---

<div class="post-metadata">

### Author: ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)
#### Post date: [August 6, 2019, 1:55pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/15 "2019-08-06T13:55:28Z")

</div>

You use _make install_ to copy the libraries (etc.) from their build-directory to some other directories (e.g., _${HOME}/bin, lib_., etc).

---

<div class="post-metadata">

### Author: ![CMAQ\_user](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@CMAQ\_user](https://forum.cmascenter.org/u/CMAQ_user)
#### Post date: [September 16, 2019, 12:32am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/16 "2019-09-16T00:32:04Z")

</div>

cjcoats, could you please clarify one thing - I found that --disable-netcdf-4 --disable-dap is NOT possible to install netcdf-fortran without error in make chek, but you and whole CMAQ is suggesting so. please any comments? I have tried myself with the later versions of netcdf e.g. netcdf-c-4.7.0 (and 1) with netcdf-fortran-4.5.0 (4.5.1) etc.

---

<div class="post-metadata">

### Author: ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)
#### Post date: [September 16, 2019, 9:39pm UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/17 "2019-09-16T21:39:01Z")

</div>

See topic " [IOAPI to netcdf4 compress mode](https://forum.cmascenter.org/t/ioapi-to-netcdf4-compress-mode/482)": It is certainly possible to install netCDF-C and netCDF-Fortran 4.4 with these flags. And the Mmake check"s work.

---

<div class="post-metadata">

### Author: ![zhuli](https://avatars.discourse-cdn.com/v4/letter/z/3ec8ea/32.png) [@zhuli](https://forum.cmascenter.org/u/zhuli)
#### Post date: [September 30, 2019, 1:32am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/18 "2019-09-30T01:32:32Z")

</div>

Hi，have you solved the problem yet?

---

<div class="post-metadata">

### Author: ![esm](https://avatars.discourse-cdn.com/v4/letter/e/f08c70/32.png) [@esm](https://forum.cmascenter.org/u/esm)
#### Post date: [September 30, 2019, 2:18am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/19 "2019-09-30T02:18:33Z")

</div>

Hi Zhuli

Yes, I solved it. Which version do you want to install?  
What is your compiler?

---

<div class="post-metadata">

### Author: ![zhuli](https://avatars.discourse-cdn.com/v4/letter/z/3ec8ea/32.png) [@zhuli](https://forum.cmascenter.org/u/zhuli)
#### Post date: [September 30, 2019, 6:08am UTC](https://forum.cmascenter.org/t/ioapi-installtion-unable/805/21 "2019-09-30T06:08:32Z")

</div>

Hi～esm  
I’ve installed netcdf4.1.3 successfully by adding the command " --disable-netcdf-4–disable-dap "below configure, but when I make in ioapi3.2, I got the same errors you got before:  
make[1]: \*\*\* [airs2m3] Error 1  
make[1]: Leaving directory ‘/home/ensiyeh/Build\_WRF/LIBRARIES/ioapi-3.2/m3tools’  
Makefile:198: recipe for target ‘all’ failed  
make: \*\*\* [all] Error 2

BTW: Centos7.5 & GCC 6.4.0 are what I’m using.

Look forward to your reply～

[Next page](https://forum.cmascenter.org/t/ioapi-installtion-unable/805.md?page=2)
