# ERROR while compiling ARPACK for ccx\_2.17

**URL:** <https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613>\
**Category:** Uncategorized\
**Created:** [June 10, 2021, 11:05pm UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613 "2021-06-10T23:05:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [June 10, 2021, 11:05pm UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/1 "2021-06-10T23:05:42Z")

</div>

![Screenshot 2021-06-11 043239](https://global.discourse-cdn.com/free1/uploads/calculix/original/1X/299b8f59b0c64c492ebf9e60ba3bebffc7bc16c4.jpeg)

Hi

Can anyone please help me with this error?  
I’ve made all the necessary changes in the ARmake.inc file but it doesn’t seem to work.  
I’ve been trying to compile ARPACK for CalculiX 2.17.

Thanks

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://calculix.discourse.group/u/jbr)\
**Post date:** [June 11, 2021, 4:35am UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/2 "2021-06-11T04:35:49Z")

</div>

Hi @bhanups1991, it looks like you don’t have the right permissions to the folder. Based on the screenshot you are using WSL, and maybe trying to install it on the Windows partition - if I recall correctly, the Windows team discourages this approach.  
Try to build it on your Linux environment and see if it works.

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [June 11, 2021, 7:51am UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/3 "2021-06-11T07:51:47Z")

</div>

@jbr Thanks for your reply.  
Yes, I am using WSL.  
I’ve checked permissions also, I have all the permissions (read/write/execute).

Actually, I already have the older ARPACK installed in another directory which I installed with ccx 2.12.  
That went perfectly without any errors, and I am using exactly the same changes in the ARmake.inc file as last time. Surprised that it’s not working this time.

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://calculix.discourse.group/u/jbr)\
**Post date:** [June 11, 2021, 1:19pm UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/4 "2021-06-11T13:19:24Z")

</div>

If that’s the case, you can always link the new ccx to the old ARPACK build if still available.

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [June 11, 2021, 5:11pm UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/5 "2021-06-11T17:11:14Z")

</div>

Yes, I thought of that.  
I am guessing, it will require changing the paths in some make files or maybe something like that?

Could you recommend where/how to start?

---

<div class="post-metadata">

**Author:** ![jbr](https://avatars.discourse-cdn.com/v4/letter/j/ecccb3/32.png) [@jbr](https://calculix.discourse.group/u/jbr)\
**Post date:** [June 11, 2021, 11:55pm UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/6 "2021-06-11T23:55:39Z")

</div>

I would start around line 23 (on ccx 2.16) of the Makefile:

```auto
LIBS = \
       $(DIR)/spooles.a \
	/path/to/old/ARPACK/libarpack_INTEL.a \

```

or something like that 🙂 .

---

<div class="post-metadata">

**Author:** ![bhanups1991](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/bhanups1991/32/287_2.png) [@bhanups1991](https://calculix.discourse.group/u/bhanups1991)\
**Post date:** [June 12, 2021, 5:17am UTC](https://calculix.discourse.group/t/error-while-compiling-arpack-for-ccx-2-17/613/7 "2021-06-12T05:17:34Z")

</div>

Thanks @jbr

I changed the path to the old ARPACK library.  
It worked for me.
