Closed keweili closed 5 years ago
Ooops. I've fixed the error. We have debated deleting integer4 altogether but have not yet made a decision. Would it not be rare for anyone (compiling code) to still be working on a 32-bit only machine?
My student had a 64-bit machine, but somehow she chose to compile the code for the x86 (Win32) platform in Visual Studio (Maybe that is the default option). Then, we found this error. After the change, it worked well, so I would keep the folder.
fyi. i put the bug fix on both the master and the devel branches.
Sanjay Govindjee, PhD, PE Horace, Dorothy, and Katherine Johnson Professor in Engineering
779 Davis Hall University of California Berkeley, CA 94720-1710
Books:
Engineering Mechanics of Deformable Solids http://amzn.com/0199651647
Engineering Mechanics 3 (Dynamics) 2nd Edition http://amzn.com/3642537111
Engineering Mechanics 3, Supplementary Problems: Dynamics http://www.amzn.com/B00SOXN8JU
On 6/11/19 11:35 AM, Dr K Li wrote:
Closed #2 https://github.com/sanjayg0/feappv/issues/2.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sanjayg0/feappv/issues/2?email_source=notifications&email_token=ADIUN4Q6D4XIISTEVFYV4RDPZ7V73A5CNFSM4HW7BTZKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR5NTGYY#event-2405118819, or mute the thread https://github.com/notifications/unsubscribe-auth/ADIUN4TKI3QBAXCKI635SFDPZ7V73ANCNFSM4HW7BTZA.
When compiling the FEAPpv source code for the x86 platform, my student chose the "integer4" folder under the "include" folder, then we got an error saying the variables "ht1", "ht2", and "ht3" are undefined in the subroutine "pform.f". Thus, I think the file "hdata.h" should be defined as follows so that we have those three variables.
See also https://github.com/keweili/feappv/blob/master/include/integer4/hdata.h
With this change, the 32-bit executable file worked on my machine.