|
[Sponsors] |
December 9, 2016, 05:23 |
swak4Foam with RapidCFD
|
#1 | |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Hi all,
I am currently trying to compile swak4Foam with RapidCFD. The system I am using is Scientific Linux 6.7. I get the following error, when running ./Allwmake from within the folder swak4Foam: Quote:
So the settings seem to be alright, I think. I googled the error, but all I could find, was the instructions I already tried... I am a little stuck here right now, but to me the error seems to be not caused by the combination with RapidCFD but rather some options I just did not yet set right in swak4Foam. Can anybody point me into the right direction? Any idea, which way I could go from here? Thanks a lot for looking into this!! Best regards Johannes |
||
December 9, 2016, 07:03 |
Different version swak4Foam-0.3.2
|
#2 | |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Dear all,
Ok, I tried a different version of swak4Foam. Instead of 0.4.0 I used version 0.3.2 (which worked fine for an installation of OF222 on the same system). The error produced now is different (but later in the process!). I attached the output. The error message at the end is the following: Quote:
If anyone has an idea, how I can set this correctly and go on compiling with swak4Foam, this would be of great help. RapidCFD is based on OF231, so I guess I need to tell the compilation process somehow that it is for version OF231... Or is my thinking completely in the wrong direction? Thanks a lot for looking into this!! Best regards Johannes |
||
December 12, 2016, 04:45 |
No ideas or comments?
|
#3 |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Nothing? :-(
|
|
December 12, 2016, 05:22 |
Istall RapidCFD anew...
|
#4 | ||
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
I am currently thinking about reinstalling RapidCFD, however this time in the folder structure of OpenFOAM, i.e. with the names
Quote:
Quote:
However this option seems a bit crude to me - not to mention, that I am not at all sure, this will work... Maybe there is another way to alter this version check in the installation of swak4Foam? To let it know, that it is version OF231 and not something not known like RapidCFD-dev? Thanks for all advice! |
|||
December 13, 2016, 17:18 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quick answer: Sorry for the late response, but I didn't have the time needed to look into this myself.
Given that you've provided the details as you went along, you seem to be close to solving the problem. Furthermore, it looks like the trick should be easier than what you're planning! If I'm not mistaken, you simply need to use those 2 lines inside the "swakConfiguration" file and it should work well as a workaround! For example, by running inside the swak4Foam folder: Code:
echo export WM_PROJECT=OpenFOAM >> swakConfiguration echo export WM_PROJECT_VERSION=2.3.1 >> swakConfiguration Code:
./Allwclean ./Allwmake > log.make 2>&1
__________________
|
|
December 13, 2016, 18:11 |
|
#6 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 14, 2016, 04:43 |
Next error...
|
#7 | |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Thanks a lot for the hints!!!
This worked very well and saved me from reinstalling RapidCFD with a "new" name, which did not work in the first go anyway... The installation of swak4Foam now went further, but crashed again. The error occurring now is: Quote:
I again looked for the file FieldValueExpressionParser.C in /home/martens_j/RapidCFD/martens-dev/swak4Foam/Libraries/swak4FoamParsers/Make/linux64NvccDPOpt, but unfortunately here I don't quite see what's happening anymore. Thanks again for looking into this! I appreciate this very much!! Best regards |
||
December 14, 2016, 09:45 |
|
#8 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request |
||
December 14, 2016, 10:29 |
|
#9 |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Thanks a lot for the response.
Sorry, for being unclear about the presence of the file FieldValueExpressionParser.C. It is present in the directory /home/martens_j/RapidCFD/martens-dev/swak4Foam/Libraries/swak4FoamParsers/Make/linux64NvccDPOpt where it should be. Thanks again for the help! I will try as you suggested and get back with the outcome! Best regards Johannes |
|
December 14, 2016, 11:20 |
Output from command line
|
#10 | |||
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
I just tried the full command
Quote:
/home/martens_j/RapidCFD/martens-dev/swak4Foam/Libraries/swak4FoamParsers. Not much surprisingly this gave the same output as before. For both parts of the command... I looked for differences in the call of the commands with the previous nvcc-commands and found the following flags Quote:
that were called in the previous command of the Allwmake-logfile for makeSwakDataEntry.o. I thus tried running the command with these options, too Quote:
I will further look into this as soon as possible, just wanted to give it a quick try! Thanks again for the suggestions and the help so far!!! Best regards Johannes |
||||
December 14, 2016, 11:22 |
Attachment
|
#11 |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Sorry, forgot the attachment.
|
|
December 14, 2016, 19:16 |
|
#12 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
@Bernhard: Quote:
@Johannes: I was hoping the issues were fewer, so I didn't go into more details in the previous post. So here is a brief summary of what I know:
I do have plans to look into RapidCFD sometime in the future, but I have no idea when that will be. Therefore, I have two suggestions:
Bruno |
||
December 15, 2016, 05:24 |
|
#13 |
Member
Jo Mar
Join Date: Jun 2015
Posts: 54
Rep Power: 11 |
Dear Bruno,
thanks again for your fast reply and the detailed answers! I have already been in quite frequent contact with the authors of RapidCFD over the last few weeks, during the installation process of RapidCFD itself. I also asked about swak4Foam, but this has not yet been tackled. I will keep asking if there is interest in implementing this... So far I am pretty satisfied with RapidCFD nonetheless! I am not totally dependent on swak4Foam - however it is very, very convenient to use. I frequently use groovyBC in my simulations, since they just give more freedom in choice... But I also think, that for me it will probably be easier to find a work-around within RapidCFD, rather than trying to get swak4Foam working with it - at least for the moment. Nevertheless I am very interested in swak4Foam and would be very happy, if using this could be made possible within RapidCFD!! I will certainly stay tuned on this topic! Best regards Johannes |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
InterDyMFoam+simpleFunctionObject | Elham | OpenFOAM Running, Solving & CFD | 5 | July 10, 2017 12:59 |
[swak4Foam] and twoPhaseEulerFoam | mnikku | OpenFOAM Community Contributions | 1 | February 19, 2016 06:21 |
source term in near wall cell | rajcfd | OpenFOAM Pre-Processing | 5 | February 1, 2016 11:31 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |
[swak4Foam] fails in parallel with -otherTime? | Phicau | OpenFOAM Community Contributions | 3 | June 26, 2013 14:00 |