Better HN
topnewbestaskshowjobs
Log inSign up

physicsguy

3,142 karma · joined Feb 12, 2018 (8y ago) · 1,452 submissions

Former Physicist. Now developer. Have worked in academia, scientific software development.
Submissions

comment 5y ago · link · parent

It pissed me off as a non-iOS developer that it doubled in size overnight because of the ARM stuff. I'm not even writing Mac Apps, I just need the system libraries so I can install Homebrew GCC and get on with my work.

comment 5y ago · link · parent

Compute Canada are developing a federated system

comment 5y ago · link · parent

Python 3 versions have had breaking changes though, so it's a bit of a moot point anyway.

comment 5y ago · link · parent

I found Zenodo to be the best out there by far in terms of ease of use and a decent amount of default storage (50gb). We have to upload data by law in the UK due to funding requirements by the research councils and the Universities own offerings are normally pitiful.

comment 5y ago · link · parent

You can do it, but many journals will charge you to publish and those fees are substantial.

Failing that you can always just submit to Arxiv or another preprint server. If you want to disseminate and get the credit, that's usually good enough.

comment 5y ago · link · parent

That's really not the case here in the UK, I know several people who failed their vivas and had to make substantial changes to their thesis. It's not common, because there are intermediate level mini-theses and vivas, and people who do badly in those often don't finish at all, but it does happen.

comment 5y ago · link · parent

Informatics pipeline software in general seem to be "All that accepted practice about distributing software? Let's throw it out of the window"

comment 5y ago · link · parent

We’re talking here about a project I don’t use and have no need for.

The ‘great engineering salary’ is a matter of perspective and location…

comment 5y ago · link · parent

+1 for Spack and also EasyBuild.

comment 5y ago · link · parent

When you compile CUDA code, it has an architecture flag, and you can specify compiling for multiple generations of the code. They’re to some degree backwards compatible (you could run a sm35 package on an sm70 compatible GPU) but performance is much better if you compile appropriate for the GPU you have because it can take advantage of newer hardware features. There’s now 7 or 8 widely in use GPU architectures with only a few early ones so far unsupported by the compiler (though a few more are now deprecated). Just as an example - in my personal PC I have a 750Ti, a card released in 2014, and the CUDA compiler will only drop support for that in the next version. This means that you end up with multiple libraries for every package.

On top of that, people want to install their package with PyPi for e.g. and go - but need the entire CUDA runtime libraries - which include cuFFT, cuBLAS, cuDNN, etc etc. So if every package includes 7 or 8 arch specific versions of the compiled code and the full CUDA RT distribution, it’s easy to see how sizes get big.

The interesting thing is that exactly the same problem occurs on CPUs anyway. We have various optimisation levels in compilers for each family of processor, but aside from MKL I don’t know of any packages that are wheels that try to provide an optimised version of the code across CPU generations. This means anyone who wants good performance should always try to build from source rather than install the wheel.

comment 5y ago · link · parent

The fundamental issue here is that Python users expect things to be install and go. That has actually never been the case, but it’s got more common over time - before wheels came along, you ended up getting compilation errors all the time from missing packages with pip. Enthought Canopy and later Conda came along and tried to fix that, and then later pip implemented binary wheels, but the wheels are often not a great solution because as someone in this thread said - every package ends up including duplicate stuff, so you can end up with like 5 versions of OpenBLAS and whatever other C/C++/FORTRAN dependencies your packages depend on. Intel released an MKL package onto PyPi which has reduced a lot of that somewhat but it is obviously a bit problematic, because lots of things now use this instead of OpenBLAS and fail to compile on other architectures (cough, PyTorch, cough).

The issue we now have is that scientific users almost always turn to Conda. Scientific authors also have increasingly turned to conda, because it solves a lot of distribution problems for them - it’s a lot easier to say to people ‘conda install -c conda-forge XYZ’ than it is to say ‘install the CUDA toolkit >v10.1 and then download dependency X and then install it from PyPi.’ Look for e.g. at Software Carpentry which aims to teach Python to researchers, or any undergrad course in Python outside of perhaps Comp Sci, and these days they almost always tell people to use Conda. In addition to that, it’s so much easier from a build perspective to add packages to Conda Forge than it is to build the various types of wheels that you need to do for PyPi. The manylinux instructions aren’t even particularly up to date.

To me, a lot of this stems back from Guido basically saying to the scientific community ‘it sounds like your problems are different to that of a lot of the Python ecosystem’ but without seeing that the whole compiled dependency thing affects everyone at some point. I’m not sure what the fix is - do we want people to be able to use PyPi to bundle compiled external libraries? It sounds like you’d just end up replicating Conda at the end of the day.

For me personally, this fragmentation causes a lot of issues because I help users install packages into our HPC cluster. I need to be able to install things from source and PyPi usually offers that, but increasingly, users bring packages with a chain of dependencies that have no source PyPi package and a long list of conda dependencies. I don’t blame package authors at all - they are doing what is easiest for them and most of their users - but I do think it needs a lot of thought and work by PyPa.

comment 5y ago · link · parent

Yeah, it's a little galling. If he can earn more than that in industry, then great! He should totally go and do that. Let Babel die and other people will have to either step up with their time or with money or replace it with something else.

comment 5y ago · link · parent

No it doesn't. For e.g. how many stupid CI pipelines are set up to download it on every run? You could easily be 2 or 3 orders of magnitude out on actual number of direct users.

comment 5y ago · link · parent

Well, it's not such a bad idea for most cluster admins (me being one at a large UK University). Most of our compute time comes from a small number of very popular MPI parallelised applications, all of which suffer from worse (or at best equivalent) performance with hyperthreading.

comment 5y ago · link · parent

Pretty much nobody in the HPC sphere really uses hyperthreading, it's disabled in the BIOS on pretty much every HPC cluster I've ever used.

comment 5y ago · link · parent

It is possible to get around the cyclic properties of convolution via FFT by zero padding your array prior to transforming though.

comment 5y ago · link · parent

It makes sense more in some countries than others.

In Japan, for e.g. there are no street numbers.

In the U.K. we have postal codes that generally refer to a street. But they sometimes can be only a portion of a street, sometimes they’re a building, sometimes they’re a large business who might be across multiple sites. At other times (usually rural) they’re very very long roads, so sticking the address into a Sat Nav takes you to that road but not the point on the road that you want to travel to. Because the system is so mixed, 99/100 nthe address is absolutely fine, but occasionally it isn’t. I agree dropping a pin is more useful though.

Ireland had no postal codes at all until recently.

comment 5y ago · link · parent

Yeah exactly - it's great for numerical computing.

I get a bit annoyed by Fortran advocates complaining about people using C++/Python instead of it, when there aren't libraries for doing really basic things. I think Fpm is a really good step in the right direction though.

comment 5y ago · link · parent

Yes, but I think not as much as advocates of it would suggest.

comment 5y ago · link · parent

In my last team we had some people in Israel which has a different weekend! And we managed fine. Totally agree about 'right now'.

comment 5y ago · link · parent

They're so dangerous. The worst part is that they don't have signs showing the speed limit as you immediately merge onto the motorway in all places. So I can come onto the M1 at my junction, and not know immediately that the speed limit is 40mph instead of 70mph for my vehicle

comment 5y ago · link · parent

> SO had a great strategy initially with relying on search engines to index everything, but it never seems to have solved the recency/relevance problem. In that respect, it has become its own worst enemy, with old answers about obsolete versions and practices often ranking highly in search results.

Oh god yes, this is a nightmare.

comment 5y ago · link · parent

IBM have basically hollowed out their team, so I'd say it's IBM ditching the market more than anything... our centre would not now consider POWER even though we currently have nodes.

comment 5y ago · link · parent

> You could take 10 M1 chips (40+40 cores, with around 30TFLOPS of GPU) put them into a server

Not really, part of why the ARM chips are so good is that the memory bandwidth is so fast. With 40+40 cores you're going to have at least NUMA to contend with, which always hampers multithreaded performance.

comment 5y ago · link · parent

On top of that, we wouldn't even yet know if there were any long term side effects from Pfizer, etc.

comment 5y ago · link · parent

Anything to do with graphics if you have a dedicated card never works properly out of the box

1287.

Spack vs. Easybuild

1 points · by physicsguy · 5y ago · discuss

comment 5y ago · link · parent

They push it but it’s not updated in things people who care about numerical programming care about so they don’t use it.

It used to be the case if you used NumPy on a Mac it would use Accelerate but it no longer does because the BLAS/LAPACK API is so outdated.

comment 5y ago · link · parent

Gold is also highly conductive and so can be sold on for things other than jewellery; it’s useful for various industrial applications.

comment 5y ago · link · parent

This is similar to my experience too. If people can write out a single Python function and apply it to all of a large amount of data then great, but that isn’t the majority of supercomputing programming.
1
424344
49