Dhondtguido / CalculiX

This repository contains the source files of CalculiX, a three-dimensional Finite Element Program (www.calculix.de).
GNU General Public License v2.0
72 stars 16 forks source link

*restart, write + overlay bug #55

Open disla2 opened 11 months ago

disla2 commented 11 months ago

OVERLAY option in *RESTART,WRITE in Windows system throws an error message.

“rm” is not recognized as an internal or external command, program or executable batch file. “mv” is not recognized as an internal or external command, program or executable batch file.

Those are Linux commands and shows in different places for example :


Lines 114-119 of restartwrite.f:

     call system("rm -f temporaryrestartfile")

!
open(15,file="temporaryrestartfile",ACCESS='SEQUENTIAL', & FORM='UNFORMATTED',err=151)


Lines 489-496 of restartwrite.f:

! if overlay mode: rename temporaryrestartfile into .rout file if(irstrt(2).eq.1) then close(15) call system("rm -f "//fnrstrt(1:ipos+4)) call system("mv temporaryrestartfile "//fnrstrt(1:ipos+4)) endif