It is not possible to build singularity images on login node 2.
[strassp6@login2 ~]$ module load GCC/6.3.0-2.27 Singularity/2.4.2
[strassp6@login2 ~]$ singularity build pytorch.simg docker://pablostrasser/pytorch:latest
ERROR: You must install squashfs-tools to build images
ABORT: Aborting with RETVAL=255
Seem a software is missing on login node 2.
Pablo