I am working with some MPI code that I need to run with mpirun
.
I am using an already existing shell script and I want to prepend to an already existing line.
So the dream is:
app=mpirun $(app)
I know it is possible to append to a variable using +=, but can I prepend?
If app
should become (or remain) a simply expanded variable, then the following would be enough:
app := mpirun $(app)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With