Skip to main content
9 events
when toggle format what by license comment
Jun 9, 2015 at 2:12 history edited hildred CC BY-SA 3.0
formating
Jun 9, 2015 at 0:11 review Low quality posts
Jun 9, 2015 at 2:12
Jun 9, 2015 at 0:11 comment added Jeff Schaller it's hard to tell from your unformatted comment; can you show a sample run with the error? you might have an extra space between f= and $(basename $1)
Jun 9, 2015 at 0:10 history edited Jeff Schaller CC BY-SA 3.0
trying to improve the formatting
Jun 8, 2015 at 16:37 comment added Syed Moez Sorry I am not able to edit my above comment properly.
Jun 8, 2015 at 16:34 comment added Syed Moez I have created a shell script callf2py.sh which has the following code: #!/bin/sh f= $(basename $1) f2py -h $f.pyf -m $f $f.f90 In my main script I am using following: find "$main_dir/source_code/3DBGB/" . -name '*.f90' -exec $main_dir/callf2py.sh {} \;
Jun 8, 2015 at 0:56 comment added Jeff Schaller post your command, the script you created, and the output. the answer works fine for me.
Jun 7, 2015 at 22:26 comment added Syed Moez Thanks. At "f=$(basename $1)" I get error saying permission denied. I have created a new shell script with this code and I am calling this code callf2py from the original code. Permission for all the files are okay.
Jun 7, 2015 at 22:07 history answered Jeff Schaller CC BY-SA 3.0