Vector Subscripts Tutorial

8 Likes

Nice. Why weren’t you using fpm (you just needed fpm run after each edit) in the first part of the video? :stuck_out_tongue_closed_eyes:

1 Like

For simple, one file programs I find the boiler-plate/overhead of fpm to be unnecessary. Sure, I could have used fpm, but then there’d be questions of “what’s all that other stuff in the project?” from those unfamiliar with fpm.

1 Like

As you wish, I personally don’t think it would have been a problem. Also, I’d note that in the quicksort part, there’s more boilerplate than 3 files

$ fpm new tutorial --app
 + mkdir -p tutorial
 + cd tutorial
 + mkdir -p tutorial/app
 + git config --get user.name > /tmp/filesbcXPE
 + git config --get user.email > /tmp/fileRl9ZCF
 + git config --get user.name > /tmp/file4iF7jD
 + git init tutorial
Initialised empty Git repository
fpm: Leaving directory '/home'
$ cd tutorial/
$ tree
.
├── app
│   └── main.f90
├── fpm.toml
└── README.md

1 directory, 3 files
2 Likes