FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 FastFieldSolvers
 FastHenry2
 fasthenry installation problem

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Antispam question: What do MOONwalk and MOONdance have in common?
Answer:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON

 
   

T O P I C    R E V I E W
c871111116 Posted - Jan 04 2015 : 13:34:55
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
2   L A T E S T    R E P L I E S    (Newest First)
c871111116 Posted - Jan 08 2015 : 09:18:30
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
Enrico Posted - Jan 08 2015 : 00:03:41
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


FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06