FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FastHenry2
 fasthenry installation problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

c871111116

Taiwan
2 Posts

Posted - Jan 04 2015 :  13:34:55  Show Profile  Reply with Quote
I try to install Fasthenry 3.0 on my linux system.
However, after I set the config to default and type make all.
My workstation report me such error message.

spAllocate.c:406: error: static declaration of 'InitializeElementBlocks' follows non-static declaration
spAllocate.c:297: note: previous implicit declaration of 'InitializeElementBlocks' was here
spAllocate.c:549: error: static declaration of 'RecordAllocation' follows non-static declaration
spAllocate.c:233: note: previous implicit declaration of 'RecordAllocation' was here
spAllocate.c:606: error: static declaration of 'AllocateBlockOfAllocationList' follows non-static declaration
spAllocate.c:566: note: previous implicit declaration of 'AllocateBlockOfAllocationList' was here
make[2]: *** [spAllocate.o] Error 1
make[2]: Leaving directory `/newhome/c871111116/fasthenry-3.0/src/fasthenry/sparse'
make[1]: *** [sparse/sparse.a] Error 2
make[1]: Leaving directory `/newhome/c871111116/fasthenry-3.0/src/fasthenry'
make: *** [fasthenry] Error 2


I also try the way to remove -O option from CFLAGS, but it still doesn't work
Can anyone tell me what I did wrong and what should I do to compile fasthenry?

ChienHsueh Lin

Enrico

550 Posts

Posted - Jan 08 2015 :  00:03:41  Show Profile  Reply with Quote
I am guessing you are using the original distribution. However, the recent GCC compiler versions are stricter than they were in the past (and, by the way, FastHenry was explicitly declared having issue compiling under Linux).
You need to correct the sources if you want them to compile under Linux. Moreover, the original FastHenry sources had some subtle bugs.
We do have an updated source version also for Linux. I have uploaded it in the download section (you can find it at the bottom of the download page of our web site). In alternative, you can also check the WRCad version.

Best Regards,
Enrico

Go to Top of Page

c871111116

Taiwan
2 Posts

Posted - Jan 08 2015 :  09:18:30  Show Profile  Reply with Quote
quote:
Originally posted by Enrico

I am guessing you are using the original distribution. However, the recent GCC compiler versions are stricter than they were in the past (and, by the way, FastHenry was explicitly declared having issue compiling under Linux).
You need to correct the sources if you want them to compile under Linux. Moreover, the original FastHenry sources had some subtle bugs.
We do have an updated source version also for Linux. I have uploaded it in the download section (you can find it at the bottom of the download page of our web site). In alternative, you can also check the WRCad version.

Best Regards,
Enrico





I try the new file and compile succeed.
Thanks a lot!

ChienHsueh Lin
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06