Skip to content

Commit

Permalink
Merge pull request danieljprice#303 from jameswurster/master
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice authored Jun 27, 2022
2 parents abfb95e + f1a2e0f commit 5d54058
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/kennedy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ An example submission script, run.qscript should look something like

Note that there are differences between the above script and that generated by Phantom's make qscript. You will need to enter the email destination, job name (after -J) and path (without the brackets).

On Kennedy, the --time entry is optional. If this entry is excluded, then the default wall time of 30 days (=720hours) will be used. Likewise, you can manually select any wall time between 0-720h.

For short jobs or for testing, you can submit your script to the development queue. Do this by resetting the wall time to a maximum of two hours and selecting the queue:

::
Expand Down
5 changes: 3 additions & 2 deletions src/setup/density_profiles.f90
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,9 @@ subroutine rho_bonnorebert(iBEparam,central_density,edge_density,rBE,xBE,mBE,fac

!--Determine scaling factors for the BE
fac_close = 1000.
if (iBEparam==4 .or. iBEparam==6) central_density = (csBE*xBE/rBE)**2/fourpi
if (iBEparam==5) then
if (iBEparam==4) then
central_density = (csBE*xBE/rBE)**2/fourpi
elseif (iBEparam==5 .or. iBEparam==6) then
do j = 1, npts
if (rtab(j) < xBE) iBElast = j
enddo
Expand Down

0 comments on commit 5d54058

Please sign in to comment.