|
|
|
|
|
*_Format:*_ The procedure for creating a hot fix is described on the HotFixToDo page and should be strictly followed at all times. Every hot fix should include a UNIX-style patch file that needs to be attached to this page. If the bug affects any predictions this should be noted. The date that the hot fix was posted should be listed, along with an acknowledgment to the person who identified the problem.
|
|
|
*Format:* The procedure for creating a hotfix is described on the HotFixToDo page and should be strictly followed at all times. Every hotfix should include a UNIX-style patch file that needs to be attached to this page. If the bug affects any predictions this should be noted. The date that the hotfix was posted should be listed, along with an acknowledgment to the person who identified the problem.
|
|
|
|
|
|
To apply the hot fix, you can either use a UNIX-style patch file, or a zip archive as outlined below. Generally the zip archive will have a larger size since it contains a full copy of every file that was changed.
|
|
|
To apply the hotfix, you can either use a UNIX-style patch file or a zip archive as outlined below. Generally, the zip archive will have a larger size since it contains a full copy of every file that was changed.
|
|
|
|
|
|
|
|
|
## Using a patch file to install a hot fix
|
|
|
## Using a patch file to install a hotfix
|
|
|
|
|
|
To *download a patch* to your computer, first click on the "patch<n>" link, and then right-click on the "Unified Diff" link at the bottom of the page and select "Save link as".
|
|
|
|
|
|
To *install the patch* you need the UNIX patch program. First go to the root of the Cloudy directory tree, then type the command:
|
|
|
To *install the patch* you need the UNIX *patch* program. First go to the root of the Cloudy directory tree, then type the command:
|
|
|
|
|
|
```
|
|
|
patch -p3 < /path/to/patch-file
|
... | ... | @@ -17,7 +17,7 @@ patch -p3 < /path/to/patch-file |
|
|
where `/path/to/patch-file` should be the location of the file you just downloaded. You can remove the patch file when you are finished.
|
|
|
|
|
|
|
|
|
## Using a zip archive to install a hot fix
|
|
|
## Using a zip archive to install a hotfix
|
|
|
|
|
|
To *download a zip archive* to your computer, first click on the "patch<n>" link, and then right-click on the "Zip Archive" link at the bottom of the page and select "Save link as".
|
|
|
|
... | ... | @@ -26,7 +26,7 @@ To *install the corrected files* you need the unzip utility. Use this to explode |
|
|
----
|
|
|
|
|
|
|
|
|
## Hot fixes to version C10.00
|
|
|
## Hotfixes to version C10.00
|
|
|
|
|
|
The *_save line emissivity*_ command may not work correctly because the emissivities are not reset properly from one iteration to the next. In order to fix this problem, edit the file iter_startend.cpp as follows after line 625:
|
|
|
|
... | ... | @@ -40,7 +40,7 @@ The *_save line emissivity*_ command may not work correctly because the emissivi |
|
|
}
|
|
|
```
|
|
|
|
|
|
The last two lines in the loop should be added. This bug will _only_ affect the output of the save command, nothing else.
|
|
|
The last two lines in the loop should be added. This bug will *only* affect the output of the save command, nothing else.
|
|
|
|
|
|
----
|
|
|
|
... | ... | @@ -53,7 +53,7 @@ g++: error: directory": No such file or directory |
|
|
make: *** [cddefines.h.gch] Error 1
|
|
|
```
|
|
|
|
|
|
In order to fix this problem you need to edit the Makefile in the source directory. Change the following lines:
|
|
|
In order to fix this problem, you need to edit the Makefile in the source directory. Change the following lines:
|
|
|
|
|
|
```
|
|
|
SVNVER := ${shell which svnversion 2> /dev/null}
|
... | ... | @@ -83,10 +83,8 @@ and then the compilation should work fine. |
|
|
|
|
|
------
|
|
|
|
|
|
Return to HotFixes main page
|
|
|
Return to [HotFixes](HotFixes) main page
|
|
|
|
|
|
Return to the StepByStep instructions
|
|
|
|
|
|
Return to main [WikiStart wiki] page
|
|
|
Return to the [StepByStep](StepByStep) instructions or go [home](home)
|
|
|
|
|
|
----- |