# Xportfrac error

**URL:** <https://forum.cmascenter.org/t/xportfrac-error/1693>\
**Category:** SMOKE\
**Created:** [August 4, 2020, 9:07pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693 "2020-08-04T21:07:17Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![xiangyu](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@xiangyu](https://forum.cmascenter.org/u/xiangyu)\
**Post date:** [August 4, 2020, 9:07pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/1 "2020-08-04T21:07:17Z")

</div>

Dear SMOKE Users,

I tried to run gen\_afdust\_tfrac.12US1.GRIDCRO2D.csh script (the script from 2016 emission platform beta version) to generate xportfrac over 12US2 domain.

However, it pops up the following error message: **/SMOKE2016/afdust\_xportfrac/gen\_afdust\_tfrac: error while loading shared libraries: libioapi.so: cannot open shared object file: No such file or directory** I also attached my log file for your reference[gen\_afdust\_tfrac.12US2.GRIDCRO2D.txt](https://forum.cmascenter.org/uploads/short-url/slWC4Uc2vcpCeEGqk6F1E56QscP.txt) (628 Bytes) .

I seems that this error message is related to the IOAPI libraries. I can find my “libioapi.a”, but couldn’t find the “libioapi.so”. Is there anything that I missed when I install ioapi3.2?

I appreciate it if you can provide any suggestions.

Thank you!  
Best,  
Xiangyu

---

<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 4, 2020, 9:49pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/2 "2020-08-04T21:49:19Z")

</div>

That sounds as though you have a bad build of the relevant executable program. You might go back and try re-building it from scratch…

---

<div class="post-metadata">

**Author:** ![xiangyu](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@xiangyu](https://forum.cmascenter.org/u/xiangyu)\
**Post date:** [August 4, 2020, 11:30pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/3 "2020-08-04T23:30:17Z")

</div>

Thanks for your suggestion!

When I installed IOAPI, I followed the instruction provided by the CMAQ user manual and I didn’t get any error message. I also ran the CMAQ benchmark case and it went well… It’s weird.

If the IOAPI is installed successfully, where I can find this “libioapi.so” file. Is it under /Linux2\_x86\_64ifort directory?

Thank you! 🙂

Best,  
Xiangyu

---

<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 5, 2020, 11:12am UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/4 "2020-08-05T11:12:05Z")

</div>

Where did this program-executable come from? Is it one you built?

If not (as I suspect), then the originator for this program screwed it up. You should re-build that program for your machine, using the I/O API that you (successfully) built. And if you do not have (cannot get) what you need to do that, we have as serious copyright violation on the part of whoever is distributing that program (see your _HTML/LGPL.txt_ or [https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html)); it is a requirement of the license under which the I/O API is distributed that you be able to do so.

By the way, the official I/O API installation manual can be found at either [https://cjcoats.github.io/ioapi/AVAIL.html](https://cjcoats.github.io/ioapi/AVAIL.html) or [https://www.cmascenter.org/ioapi/documentation/all\_versions/html/AVAIL.html](https://www.cmascenter.org/ioapi/documentation/all_versions/html/AVAIL.html); the CMAQ user manual is _not_ the official installation manual, though it usually is approximately correct.

---

<div class="post-metadata">

**Author:** ![xiangyu](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@xiangyu](https://forum.cmascenter.org/u/xiangyu)\
**Post date:** [August 5, 2020, 6:58pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/5 "2020-08-05T18:58:42Z")

</div>

Hi Carlie,

Thanks very much for your reply! I came up other solutions. 🙂

Best,  
Xiangyu

---

<div class="post-metadata">

**Author:** ![lexiewilson](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/lexiewilson/32/2018_2.png) [@lexiewilson](https://forum.cmascenter.org/u/lexiewilson)\
**Post date:** [March 30, 2021, 11:09pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/6 "2021-03-30T23:09:56Z")

</div>

I am having this exact same issue. Can you inform me of how you resolved the error?

---

<div class="post-metadata">

**Author:** ![xiangyu](https://avatars.discourse-cdn.com/v4/letter/x/90db22/32.png) [@xiangyu](https://forum.cmascenter.org/u/xiangyu)\
**Post date:** [April 1, 2021, 3:12am UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/7 "2021-04-01T03:12:03Z")

</div>

Hi,

EPA posted the statistically compiled gen\_afdust\_tfrac script at “ftp://newftp.epa.gov/Air/emismod/2016/v1/ancillary\_data/”. You can try that one. It works for me.

Xiangyu

---

<div class="post-metadata">

**Author:** ![eyth.alison](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@eyth.alison](https://forum.cmascenter.org/u/eyth.alison)\
**Post date:** [January 2, 2024, 8:30pm UTC](https://forum.cmascenter.org/t/xportfrac-error/1693/9 "2024-01-02T20:30:36Z")

</div>

Do you specify the name /location of the outfile in your script? Is it listed in the standard output or log?

If so, have you confirmed you have write permission in that location?
