Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

makeNewWorkingDir does not copy files to right path #4

Closed
w1th0utnam3 opened this issue Apr 17, 2016 · 0 comments
Closed

makeNewWorkingDir does not copy files to right path #4

w1th0utnam3 opened this issue Apr 17, 2016 · 0 comments

Comments

@w1th0utnam3
Copy link

w1th0utnam3 commented Apr 17, 2016

The make files expect the contents of the SOWFA repository inside of $WM_PROJECT_USER_DIR (example: SOWFA/applications/solvers/incompressible/windEnergy/windPlantSolver/2.3-and-higher/options, line 9). Nevertheless the SOWFA/makeNewWorkingDir script (as well as snippet from the webinar pdf on the NREL SOWFA project page) creates a copy of the SOWFA folder itself (not just of its contents) in the OpenFOAM user directory. This results in compilation errors due to missing include files.
Line 20 in SOWFA/makeNewWorkingDir:
cp -rs $SOWFAdir $WM_PROJECT_USER_DIR
should be
cp -rs $SOWFAdir/* $WM_PROJECT_USER_DIR
instead.

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

No branches or pull requests

2 participants