Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

About compiling 3D HOS-NWT #29

Open
XiwuPang opened this issue Jul 4, 2022 · 2 comments
Open

About compiling 3D HOS-NWT #29

XiwuPang opened this issue Jul 4, 2022 · 2 comments

Comments

@XiwuPang
Copy link

XiwuPang commented Jul 4, 2022

Hi, when I compile 2D HOS-NWT (n2 = 1 p2 = 1), it works well, but if I try to compile 3D HOS-NWT (n2 > 1 and p2 > 1) the error shown as:
/usr/bin/ld: failed to convert GOTPCREL relocation; relink with --no-relax
collect2: error: ld returned 1 exit status
make: *** [makefile:105: bin/HOS-NWT] Error 1
How do I fix this?

@gducrozet
Copy link
Member

Hello,
If you try with large number of components (n2>>1 and large n1), you may have some issues of memory allocation. Try with a limited number as a first try to see if this is the issue.

@XiwuPang
Copy link
Author

XiwuPang commented Jul 8, 2022

Hello, thanks for replying. If I reduce n2 to a smaller number, it works without any errors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants